p PatchFirst

CVE-2025-5351

CVE-2025-5351 · Libssh: double free vulnerability in libssh key export functions

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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 · Средний · EPSS 0,6% · Есть исправление

Опубликовано
Обновлено

Стек: system

Затронутые продукты и версии

  • libssh

    Версии
    • ≥ 0.10.0, < 0.11.2: Затронуто (semver)

    Обновитесь до 0.11.2

  • red hat enterprise linux 9

    Версии
    • ≥ 0:0.10.4-18.el9: Не затронуто (rpm)

    Нет опубликованного исправления

  • red hat enterprise linux 10

    Нет опубликованного исправления

  • red hat enterprise linux 6

    Нет опубликованного исправления

  • red hat enterprise linux 7

    Нет опубликованного исправления

  • red hat enterprise linux 8

    Нет опубликованного исправления

  • red hat openshift container platform 4

    Нет опубликованного исправления

  • libssh Debian:12

    Версии
    • 0.10.5-2
    • 0.10.5-3
    • 0.10.5-3+hurd.1
    • 0.10.6-0+deb12u1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.10.6-0+deb12u2

    Обновитесь до 0.10.6-0+deb12u2

  • libssh Debian:13

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.11.2-1

    Обновитесь до 0.11.2-1

  • libssh Debian:14

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.11.2-1

    Обновитесь до 0.11.2-1

  • libssh Ubuntu:24.04:LTS

    Версии
    • 0.10.5-3ubuntu1
    • 0.10.5-3ubuntu2
    • 0.10.6-2
    • 0.10.6-2build1
    • 0.10.6-2build2
    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.10.6-2ubuntu0.1

    Обновитесь до 0.10.6-2ubuntu0.1

Первоисточники

Проверьте свой сервер →