CVE-2026-59843

NameCVE-2026-59843
DescriptionA flaw was found in libssh. A remote authenticated peer can advertise a zero maximum packet size in SSH_MSG_CHANNEL_OPEN, causing later channel writes to loop indefinitely and consume CPU, leading to denial of service.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6410-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libssh (PTS)bullseye0.9.8-0+deb11u1vulnerable
bullseye (security)0.9.8-0+deb11u2vulnerable
bookworm0.10.6-0+deb12u2vulnerable
bookworm (security)0.10.6-0+deb12u1vulnerable
trixie0.11.2-1+deb13u1vulnerable
trixie (security)0.11.5-0+deb13u1fixed
forky, sid0.12.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsshsourcetrixie0.11.5-0+deb13u1DSA-6410-1
libsshsource(unstable)0.12.2-1

Notes

https://www.libssh.org/2026/07/28/libssh-0-12-2-security-release/
https://www.libssh.org/security/advisories/CVE-2026-59843.txt
Fixed by: https://git.libssh.org/projects/libssh.git/commit/?id=3f785905760d2e2a87037285ab85b37b9924e409 (libssh-0.12.2)
Fixed by: https://git.libssh.org/projects/libssh.git/commit/?id=006ddd503566ee13e00db42bc111e898388f8664 (libssh-0.12.2)

Search for package or bug name: Reporting problems