A flaw was found in the key export functionality of libssh. The issue occurs in the internal function responsible for converting cryptographic keys into serialized formats. During error handling, a memory structure is freed but not cleared, leading to a potential double free issue if an additional failure occurs later in the function.
Overview
A flaw was found in the key export functionality of libssh. The issue occurs in the internal function responsible for converting cryptographic keys into serialized formats. During error handling, a memory structure is freed but not cleared, leading to a potential double free issue if an additional failure occurs later in the function. This condition may result in heap corruption or application instability in low-memory scenarios, posing a risk to system reliability where key export operations are performed.
- Published
- 7/4/2025
- Last modified
- 11/24/2026
- CVE assigner
- redhat
- NVD analysis
- Modified
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
libssh libssh | ≥ 0.10.0, < 0.11.2 | Verify advisory | Source |
openshift container platform redhat | 4.0 | Verify advisory | Source |
enterprise linux redhat | 6.0 | Verify advisory | Source |
enterprise linux redhat | 7.0 | Verify advisory | Source |
enterprise linux redhat | 8.0 | Verify advisory | Source |
enterprise linux redhat | 9.0 | Verify advisory | Source |
enterprise linux redhat | 10.0 | Verify advisory | Source |
libssh libssh | ≥ 0.10.0, < 0.11.2 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
6.5 · Medium CVSS 3.1
Scored by redhat
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
6.5 · Medium CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
6.5 · Medium CVSS 3.1
Scored by nvd@nist.gov
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.