Bug 2503657 - CVE-2026-59843 libssh: libssh: denial of service via zero advertised channel packet size [fedora-all]
Summary: CVE-2026-59843 libssh: libssh: denial of service via zero advertised channel ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libssh
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["1e1762e3-bcd3-41bd-a9ed-c...
Depends On:
Blocks: CVE-2026-59843
TreeView+ depends on / blocked
 
Reported: 2026-07-21 14:57 UTC by Vladimir Vasilev
Modified: 2026-07-23 01:20 UTC (History)
5 users (show)

Fixed In Version: libssh-0.11.5-1.fc43 libssh-0.12.1-1.fc44
Clone Of:
Environment:
Last Closed: 2026-07-23 01:03:13 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-07-21 14:57:36 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in libssh channel handling. In ssh_packet_channel_open() in src/messages.c and ssh_packet_channel_open_conf() in src/channels.c, the implementation accepts a peer-controlled maximum packet size of 0 in channel open messages. That zero value is stored in channel state and later reaches channel_write_common(), where forward progress depends on the remote maximum packet size being positive; with 0, the remaining length is never reduced and the write path loops indefinitely, consuming CPU and causing denial of service. A remote authenticated peer can trigger this by advertising a zero maximum packet size in SSH_MSG_CHANNEL_OPEN or SSH_MSG_CHANNEL_OPEN_CONFIRMATION.

Comment 1 Fedora Update System 2026-07-22 09:32:32 UTC
FEDORA-2026-0e46c91ccf (libssh-0.12.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e46c91ccf

Comment 2 Fedora Update System 2026-07-22 09:33:30 UTC
FEDORA-2026-063caa9112 (libssh-0.11.5-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-063caa9112

Comment 3 Fedora Update System 2026-07-23 01:03:13 UTC
FEDORA-2026-063caa9112 (libssh-0.11.5-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-07-23 01:20:12 UTC
FEDORA-2026-0e46c91ccf (libssh-0.12.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.