Security Resilience

CVE-2026-59847

Libssh 0.9.0 – 0.11.5

Published
21 July 2026
Modified
04 September 2026
CVSS Score v3.1 5.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0033 19th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS 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

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

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1542 Pre-OS Boot Stealth
Adversaries may abuse Pre-OS Boot mechanisms as a way to establish persistence on a system.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-59843Same product: Libssh Libssh
CVE-2026-59844Same product: Libssh Libssh
CVE-2026-59845Same product: Libssh Libssh
CVE-2026-59850Same product: Libssh Libssh
CVE-2026-59848Same product: Libssh Libssh
CVE-2026-59846Same product: Libssh Libssh
CVE-2026-0966Same product: Libssh Libssh
CVE-2026-0967Same product: Libssh Libssh
CVE-2026-0964Same product: Libssh Libssh
CVE-2026-0968Same product: Libssh Libssh

Affected Assets

libssh
libssh
0.12.0 · 0.9.0 — 0.11.5
redhat
hardened images
all versions
redhat
enterprise linux
10.0, 8.0, 9.0

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.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly enforce proper error-handling and return-value checking during development.

ID.AM-08 partial match
blocks

Life-cycle management encompasses planning for updateability or timely replacement of immutable components.

PR.PS-02 partial match
blocks

Directly requires patching; inability to patch ROM forces reliance on replacement or acceptance of residual risk.

PR.PS-03 partial match
blocks

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.

finds

Security testing in development catches missing or incorrect return-value checks.

prevents

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.

prevents

Secure coding explicitly demands checking return values, covering most of CWE-253.

finds

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.

References