CVE catalog

CVE-2019-12312

libreswan: CVE-2019-12312

[CVE catalog]

Severity
Medium · CVSS 4.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
2.75% · Oct 25, 2026

In Libreswan 3.27 an assertion failure can lead to a pluto IKE daemon restart. An attacker can trigger a NULL pointer dereference by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKE_AUTH exchange. This affects send_v2N_spi_response_from_state() in programs/pluto/ikev2_send.c that will then trigger a NULL pointer dereference leading to a restart of libreswan.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibreswansid5.2-2.5fixed
Debianlibreswanforky5.2-2.5fixed
Debianlibreswantrixie5.2-2.2fixed
Debianlibreswanbookworm4.10-2+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibreswansourcesid3.27-5not yet assignedNot reported[929916]
Debianlibreswansourceforky3.27-5not yet assignedNot reported[929916]
Debianlibreswansourcetrixie3.27-5not yet assignedNot reported[929916]
Debianlibreswansourcebookworm3.27-5not yet assignedNot reported[929916]

[Debian bug #929916]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libreswan]Fixed
    Details (2)
    • 4.10-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.27-5

      dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12

    • 4.10-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.27-5

      dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12

[Debian 13 (Trixie)]

  • [libreswan]Fixed
    Details (2)
    • 5.2-2.2 · amd64 · trixie

      Fixed · Fixed: 3.27-5

      dsa · libreswan · debian · 13

    • 5.2-2.2 · arm64 · trixie

      Fixed · Fixed: 3.27-5

      dsa · libreswan · debian · 13

Observed:

References