Red Hat Enterprise Linux 10: Incorrect Check of Function Return Value
CVE-2026-59847 is a high-severity incorrect check of function return value vulnerability in Red Hat Enterprise Linux 10 from Red Hat, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.33% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Libssh to 0.11.5 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Hardened Images | Not specified in the record | Not stated |
| Libssh | Libssh | 0.9.0 up to, but not including, 0.11.5; 0.12.0 | 0.11.5 |
| Red Hat | Hardened Images | Not specified in the record | Not stated |
| Red Hat | Enterprise Linux | 8.0; 9.0; 10.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.9 | Medium | CNA (redhat.com) |
| CVSS 3.1 | 7.5 | High | NVD |
Official description
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Check of Function Return Value
The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.
How developers prevent this class of flaw
- Use a language or compiler that uses exceptions and requires the catching of those exceptions.
- Properly check all functions which return a value.
- When designing any function make sure you return a value or throw an exception in case of an error.
More Incorrect Check of Function Return Value vulnerabilities (CWE-253)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- access.redhat.com/errata/RHSA-2026:42922Third Party Advisory
- access.redhat.com/errata/RHSA-2026:55855Third Party Advisory
- access.redhat.com/errata/RHSA-2026:62217Third Party Advisory
- access.redhat.com/errata/RHSA-2026:62218Third Party Advisory
- access.redhat.com/security/cve/CVE-2026-59847Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2498180Issue Tracking, Third Party Advisory
Other vulnerabilities in Red Hat Enterprise Linux 10
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.9 High severity
- 7.3 High severity
- 7.5 High severity
Recent Incorrect Check of Function Return Value vulnerabilities
- 7.8 High severity
- 7.2 High severity
- 7.5 High severity
- 8.2 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.