{"id":"JLSEC-2025-98","aliases":["JLSEC-2025-98"],"related":["CVE-2025-5351"],"kind":"vulnerability","state":"published","title":"A flaw was found in the key export functionality of libssh","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2025-10-19T18:40:48.457Z","modified":"2026-07-18T00:01:26.500Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.11.3+0"}],"ecosystem":"Julia","package":"libssh_jll","purl":"pkg:julia/libssh_jll?uuid=a8d4f100-aa25-5708-be18-96e0805c2c9d","source":"jlsec"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:18683","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-5351","tags":["web"],"sources":["jlsec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369367","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-98","url":"https://osv.dev/vulnerability/JLSEC-2025-98","licence":"CC-BY-4.0","modified":"2026-07-18T00:01:26.500Z"}],"updatedAt":"2026-11-25T22:56:25.828Z"}