REDHAT-BUG-2436980: Low severity libssh libssh vulnerability

Published Feb 4, 2026
·
Updated

libssh can try to open any file during configuration parsing, when misconfigured or when local attacker can provide malicious configuration. This applies for all configuration loaded from default location, configuration provided through the sshconfigparsefile() and sshbindconfigparsefile() functions as well as configuration files included from them directly or through glob wildcards.

The possibly dangerous files involve block devices, fifo, named pipe or huge system files that could cause Denial of Service.

The solution here is allowing to read only regular files and enforcing configuration file size limit of 16MB. Currently, maximum line length of a configuration file is 1K so this will effectively mean configuration files of 16K lines should still keep working.

Affected Software

1 affected component
libssh libssh

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Enforce a configuration file size limit of 16MB to prevent DoS from huge system files during configuration parsing (including files loaded from the default location and via ssh_bind_config_parse_file() and ssh_config_parse_file()).

    libssh configuration parsing Maximum configuration file size = 16MB
  2. Configuration

    Allow libssh to read only regular files during configuration parsing and enforce restriction to prevent opening block devices, fifo/named pipes, or other potentially dangerous files (including those included directly or via glob wildcards).

    libssh configuration parsing Allowed file types for configuration reads = regular files only
  3. Configuration

    Ensure the limit is set so that a configuration file size limit of 1K effectively bounds configuration to avoid DoS from malicious/huge files during parsing.

    libssh configuration parsing Maximum configuration lines/filesize behavior = 1K per configuration file

Event History

Feb 4, 2026
Data Sourced
via Red Hat·11:43 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-2436980?

The severity of REDHAT-BUG-2436980 is considered high due to the potential for local attackers to gain unauthorized access to sensitive files.

2

How do I fix REDHAT-BUG-2436980?

To fix REDHAT-BUG-2436980, ensure that libssh configurations are correctly set and validated to prevent opening unauthorized files.

3

What versions of libssh are affected by REDHAT-BUG-2436980?

All versions of libssh that allow misconfigured or malicious configuration files are affected by REDHAT-BUG-2436980.

4

What type of attacks can be executed due to REDHAT-BUG-2436980?

REDHAT-BUG-2436980 allows local attackers to exploit misconfigurations to access arbitrary files on the system.

5

Is there a workaround for REDHAT-BUG-2436980?

A possible workaround for REDHAT-BUG-2436980 is to restrict file permissions and validate configuration files prior to use.

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