REDHAT-BUG-2498176: Medium severity libssh libssh vulnerability

Published Jul 8, 2026
·
Updated

A flaw was found in libssh channel handling. In sshpacketchannelopen() in src/messages.c and sshpacketchannelopenconf() 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 channelwritecommon(), 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 SSHMSGCHANNELOPEN or SSHMSGCHANNELOPENCONFIRMATION.

Affected Software

1 affected component
libssh libssh

Event History

Jul 8, 2026
Data Sourced
via Red Hat·06:14 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2498176?

The severity of REDHAT-BUG-2498176 is classified as medium.

2

What is the risk level associated with REDHAT-BUG-2498176?

The risk level associated with REDHAT-BUG-2498176 is rated at 19.

3

How do I fix REDHAT-BUG-2498176?

To fix REDHAT-BUG-2498176, ensure that your libssh version is updated to a patched release that addresses the flaw.

4

What components are affected by REDHAT-BUG-2498176?

The components affected by REDHAT-BUG-2498176 include the libssh library.

5

What is the nature of the flaw in REDHAT-BUG-2498176?

The flaw in REDHAT-BUG-2498176 involves improper handling of a peer-controlled maximum packet size of zero in channel open messages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203