p PatchFirst

CVE-2026-14957

CVE-2026-14957 · FIPS mode assertion failure via malicious CERT payload

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

In FIPS mode, Libreswan's add_decoded_cert() function calls CERT_ExtractPublicKey() and asserts that the result is not NULL. However, CERT_ExtractPublicKey() returns NULL when public key extraction fails, for example if the RSA exponent is set to 0. A remote attacker can send a malformed X.509 certificate in a CERT payload to trigger the assertion, causing the pluto daemon to abort and restart. Continued exploitation causes a denial of service. No remote code execution is possible. Both IKEv1 and IKEv2 are affected. The vulnerability is only exploitable when both the OS and libreswan are running in FIPS mode and at least one CA certificate is loaded. The CERT payload is processed before peer authentication, so no credentials are needed to exploit this. Configurations using only PreSharedKey (PSK) authentication with no CA certificates loaded in the NSS database are not vulnerable.

CVSS 7.5 · Alta · EPSS 0,5% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • libreswan

    Versiones
    • ≥ 3.0, ≤ 5.3.1: Afectada (semver)
    • 5.3.2: No afectada (semver)

    Actualiza a 5.3.2

  • libreswan Debian:12

    Versiones
    • 4.10-2
    • 4.10-2+deb12u1
    • 4.11-1
    • 4.12-1
    • 4.12-2
    • 4.12-3
    • 4.14-1
    • 4.14-1.1
    • 4.15-1
    • 5.0~rc2-1
    • 5.0~rc2-2
    • 5.2-1
    • 5.2-2
    • 5.2-2.1
    • 5.2-2.2
    • 5.2-2.3
    • 5.2-2.4
    • 5.2-2.5
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Debian:13

    Versiones
    • 5.2-2.2
    • 5.2-2.3
    • 5.2-2.4
    • 5.2-2.5
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Debian:14

    Versiones
    • 5.2-2.2
    • 5.2-2.3
    • 5.2-2.4
    Intervalos de versiones afectados
    • ECOSYSTEM: < 5.2-2.5

    Actualiza a 5.2-2.5

  • libreswan Ubuntu:18.04:LTS

    Versiones
    • 3.20-7build1
    • 3.21-2
    • 3.22-1
    • 3.22-2
    • 3.22-3
    • 3.22-4
    • 3.23-1
    • 3.23-4
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Ubuntu:20.04:LTS

    Versiones
    • 3.29-2
    • 3.29-2build1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Ubuntu:22.04:LTS

    Versiones
    • 3.32-3ubuntu3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Ubuntu:24.04:LTS

    Versiones
    • 4.11-1ubuntu1
    • 4.12-1ubuntu1
    • 4.14-1ubuntu1
    • 4.14-1ubuntu2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Ubuntu:26.10

    Versiones
    • 5.2-2.2ubuntu2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • libreswan Ubuntu:26.04:LTS

    Versiones
    • 5.2-2.2ubuntu1
    • 5.2-2.2ubuntu2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →