Bug 2498176 (CVE-2026-59843) - CVE-2026-59843 libssh: libssh: denial of service via zero advertised channel packet size
Summary: CVE-2026-59843 libssh: libssh: denial of service via zero advertised channel ...
Keywords:
Status: NEW
Alias: CVE-2026-59843
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2503657
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 18:14 UTC by OSIDB Bzimport
Modified: 2026-09-10 17:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:63299 0 None None None 2026-09-03 17:37:31 UTC
Red Hat Product Errata RHBA-2026:65388 0 None None None 2026-09-08 11:55:03 UTC
Red Hat Product Errata RHSA-2026:55855 0 None None None 2026-08-17 20:53:24 UTC
Red Hat Product Errata RHSA-2026:62217 0 None None None 2026-09-01 17:53:32 UTC
Red Hat Product Errata RHSA-2026:62218 0 None None None 2026-09-01 18:33:10 UTC

Description OSIDB Bzimport 2026-07-08 18:14:52 UTC
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 3 errata-xmlrpc 2026-08-17 20:53:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855

Comment 4 errata-xmlrpc 2026-09-01 17:53:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:62217 https://access.redhat.com/errata/RHSA-2026:62217

Comment 5 errata-xmlrpc 2026-09-01 18:33:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:62218 https://access.redhat.com/errata/RHSA-2026:62218


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