CVE-2026-59847
Libssh 0.9.0 – 0.11.5
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-59847 is a medium-severity Incorrect Check of Function Return Value (CWE-253) vulnerability in Libssh. Its CVSS base score is 5.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 19th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-2 (Flaw Remediation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-46255
Vulnerability Data
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Requiring flaw remediation and firmware update mechanisms directly ensures ROM code can be patched, eliminating the design weakness.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly enforce proper error-handling and return-value checking during development.
Life-cycle management encompasses planning for updateability or timely replacement of immutable components.
Directly requires patching; inability to patch ROM forces reliance on replacement or acceptance of residual risk.
Addresses hardware that cannot be updated by requiring replacement when security capabilities are lacking.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development catches missing or incorrect return-value checks.
Training developers in secure coding practices reduces a minority of incorrect return-value checks, but the practice is fallible and the defect is a subtle implementation detail (e.g., checking < 0 when malloc returns NULL) that training alone does not reliably prevent.
Secure coding explicitly demands checking return values, covering most of CWE-253.
A.8.8's reach is DISCLOSURE — vendor advisories and CVE-published flaws — and CWE-253 is primarily a first-party code defect (return-value handling) discovered by static analysis or code review, not by scanning deployed systems against advisories. A.8.8 finds it only where it has been published as a CVE (e.g., CVE-2023-49286), which is a minority of instances; the bulk lives in first-party code that A.8.8's disclosure-based programme does not see.