CVE-2025-5351
CVE-2025-5351 · Libssh: double free vulnerability in libssh key export functions
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 6.5 · Moyenne · EPSS 0,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
libssh
- Versions du logiciel
- ≥ 0.10.0, < 0.11.2: Concernée (semver)
Mettez à jour vers 0.11.2
red hat enterprise linux 9
- Versions du logiciel
- ≥ 0:0.10.4-18.el9: Non concernée (rpm)
Aucun correctif publié
red hat enterprise linux 10
Aucun correctif publié
red hat enterprise linux 6
Aucun correctif publié
red hat enterprise linux 7
Aucun correctif publié
red hat enterprise linux 8
Aucun correctif publié
red hat openshift container platform 4
Aucun correctif publié
libssh Debian:12
- Versions du logiciel
- 0.10.5-2
- 0.10.5-3
- 0.10.5-3+hurd.1
- 0.10.6-0+deb12u1
- Plages de versions concernées
- ECOSYSTEM: < 0.10.6-0+deb12u2
Mettez à jour vers 0.10.6-0+deb12u2
libssh Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 0.11.2-1
Mettez à jour vers 0.11.2-1
libssh Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 0.11.2-1
Mettez à jour vers 0.11.2-1
libssh Ubuntu:24.04:LTS
- Versions du logiciel
- 0.10.5-3ubuntu1
- 0.10.5-3ubuntu2
- 0.10.6-2
- 0.10.6-2build1
- 0.10.6-2build2
- Plages de versions concernées
- ECOSYSTEM: < 0.10.6-2ubuntu0.1
Mettez à jour vers 0.10.6-2ubuntu0.1