# JLSEC-2025-96: A flaw was found in the libssh library in versions less than 0.11.2

- Severity: High 8.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-19T18:40:48.457Z
- Modified: 2026-07-25T18:23:53.804Z
- Related: CVE-2025-5318

## Description

A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the `sftp_handle` function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.

(As written by Julia Security Advisories.)

## Affected

- libssh_jll (Julia): before 0.11.3+0

## References

- <https://access.redhat.com/errata/RHSA-2025:18231> (web)
- <https://access.redhat.com/errata/RHSA-2025:18275> (web)
- <https://access.redhat.com/errata/RHSA-2025:18286> (web)
- <https://access.redhat.com/errata/RHSA-2025:19012> (web)
- <https://access.redhat.com/errata/RHSA-2025:19098> (web)
- <https://access.redhat.com/errata/RHSA-2025:19101> (web)
- <https://access.redhat.com/errata/RHSA-2025:19295> (web)
- <https://access.redhat.com/errata/RHSA-2025:19300> (web)
- <https://access.redhat.com/errata/RHSA-2025:19313> (web)
- <https://access.redhat.com/errata/RHSA-2025:19400> (web)
- <https://access.redhat.com/errata/RHSA-2025:19401> (web)
- <https://access.redhat.com/errata/RHSA-2025:19470> (web)
- <https://access.redhat.com/errata/RHSA-2025:19472> (web)
- <https://access.redhat.com/errata/RHSA-2025:19807> (web)
- <https://access.redhat.com/errata/RHSA-2025:19864> (web)
- <https://access.redhat.com/errata/RHSA-2025:20943> (web)
- <https://access.redhat.com/errata/RHSA-2025:21013> (web)
- <https://access.redhat.com/errata/RHSA-2025:21329> (web)
- <https://access.redhat.com/errata/RHSA-2025:21829> (web)
- <https://access.redhat.com/errata/RHSA-2025:22275> (web)
- <https://access.redhat.com/errata/RHSA-2025:23078> (web)
- <https://access.redhat.com/errata/RHSA-2025:23079> (web)
- <https://access.redhat.com/errata/RHSA-2025:23080> (web)
- <https://access.redhat.com/errata/RHSA-2026:0326> (web)
- <https://access.redhat.com/errata/RHSA-2026:1541> (web)
- <https://access.redhat.com/errata/RHSA-2026:3461> (web)
- <https://access.redhat.com/errata/RHSA-2026:3462> (web)
- <https://access.redhat.com/security/cve/CVE-2025-5318> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2369131> (web)
- <https://www.libssh.org/security/advisories/CVE-2025-5318.txt> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-96](https://osv.dev/vulnerability/JLSEC-2025-96), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-96 · Whole record: https://cve.day/JLSEC-2025-96.json · Rebuilt by cve.day 2026-11-25T22:56:25.827Z
