# CVE-2026-59845: Libssh: libssh: denial of service via unchecked proxycommand fork() failure

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-21 · Modified: 2026-09-01
- Aliases: UBUNTU-CVE-2026-59845, DEBIAN-CVE-2026-59845, CGA-2mh5-7jc8-j8c3, CGA-9w5q-w5qm-7p6x, CGA-gvwm-3f33-4wrj, CGA-h458-3f59-qmpj, CGA-mpxf-cwp5-q886, CGA-v294-4vj7-fj4f, ALPINE-CVE-2026-59845
- Record: https://cvemate.com/vulnerability/CVE-2026-59845 · JSON: https://cvemate.com/vulnerability/CVE-2026-59845/json

## Description

```text
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork() failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H
- EPSS: 0.104%, percentile 1.07%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.12.1-r0
- chainguard libssh (Chainguard): \< 0.12.1-r0
- chainguard libssh-dev (Chainguard): \< 0.12.1-r0
- chainguard libssh2 (Chainguard): All versions (No fix recorded)
- wolfi libssh (Wolfi): \< 0.12.1-r0
- wolfi libssh-dev (Wolfi): \< 0.12.1-r0
- wolfi libssh2 (Wolfi): All versions (No fix recorded)
- debian libssh (Debian): All versions (No fix recorded) \| \< 0.10.6-0+deb12u3 \| \< 0.11.5-0+deb13u1 \| \< 0.12.1-1
- ubuntu libssh (Ubuntu): All versions (No fix recorded) \| \< 0.9.6-2ubuntu0.22.04.8 \| \< 0.10.6-2ubuntu0.5 \| \< 0.11.3-1ubuntu2.1
- libssh libssh: na
- redhat enterprise\_linux: 8.0 \| 9.0 \| 10.0
- redhat hardened\_images: na

## References

- <https://access.redhat.com/errata/RHSA-2026:42922>
- <https://access.redhat.com/errata/RHSA-2026:55855>
- <https://access.redhat.com/errata/RHSA-2026:62217>
- <https://access.redhat.com/errata/RHSA-2026:62218>
- <https://access.redhat.com/security/cve/CVE-2026-59845>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2498178>
- <https://ubuntu.com/security/CVE-2026-59845>
- <https://www.cve.org/CVERecord?id=CVE-2026-59845>
- <https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/>
- <https://www.libssh.org/security/advisories/CVE-2026-59845.txt>
- <https://ubuntu.com/security/notices/USN-8699-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-59845>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59845>
- <https://security.alpinelinux.org/vuln/CVE-2026-59845>

---

Data as of 2026-12-05T04:11:33.549Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
