
CVE catalog
CVE-2019-12312
libreswan: CVE-2019-12312
- Severity
- Medium · CVSS 4.3
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | fixed |
| Debian | libreswan | forky | 5.2-2.5 | fixed |
| Debian | libreswan | trixie | 5.2-2.2 | fixed |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | 3.27-5 | not yet assigned | Not reported | [929916] |
| Debian | libreswan | source | forky | 3.27-5 | not yet assigned | Not reported | [929916] |
| Debian | libreswan | source | trixie | 3.27-5 | not yet assigned | Not reported | [929916] |
| Debian | libreswan | source | bookworm | 3.27-5 | not yet assigned | Not reported | [929916] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libreswan]Fixed
Details (2)
4.10-2+deb12u1· amd64 · bookwormFixed · Fixed:
3.27-5dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12
4.10-2+deb12u1· arm64 · bookwormFixed · Fixed:
3.27-5dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12
[Debian 13 (Trixie)]
- [libreswan]Fixed
Details (2)
5.2-2.2· amd64 · trixieFixed · Fixed:
3.27-5dsa · libreswan · debian · 13
5.2-2.2· arm64 · trixieFixed · Fixed:
3.27-5dsa · libreswan · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_3391.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-12312]
- [https://security-tracker.debian.org/tracker/CVE-2019-12312]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-12312.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]