DEBIAN-CVE-2026-14957
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.
DEBIAN-CVE-2026-14957
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-14957
libreswan
Source reference: /affected/0/package/name
- Affected versions
- 4.10-2
Source reference:
/affected/0/versions4.10-2+deb12u1Source reference:
/affected/0/versions4.11-1Source reference:
/affected/0/versions4.12-1Source reference:
/affected/0/versions4.12-2Source reference:
/affected/0/versions4.12-3Source reference:
/affected/0/versions4.14-1Source reference:
/affected/0/versions4.14-1.1Source reference:
/affected/0/versions4.15-1Source reference:
/affected/0/versions5.0~rc2-1Source reference:
/affected/0/versions5.0~rc2-2Source reference:
/affected/0/versions5.2-1Source reference:
/affected/0/versions5.2-2Source reference:
/affected/0/versions5.2-2.1Source reference:
/affected/0/versions5.2-2.2Source reference:
/affected/0/versions5.2-2.3Source reference:
/affected/0/versions5.2-2.4Source reference:
/affected/0/versions5.2-2.5Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libreswan
Source reference: /affected/1/package/name
- Affected versions
- 5.2-2.2
Source reference:
/affected/1/versions5.2-2.3Source reference:
/affected/1/versions5.2-2.4Source reference:
/affected/1/versions5.2-2.5Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libreswan
Source reference: /affected/2/package/name
- Affected versions
- 5.2-2.2
Source reference:
/affected/2/versions5.2-2.3Source reference:
/affected/2/versions5.2-2.4Source reference:
/affected/2/versions - Fixed versions
- 5.2-2.5
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libreswan",
"purl": "pkg:deb/debian/libreswan?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14957.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libreswan",
"purl": "pkg:deb/debian/libreswan?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.2-2.2",
"5.2-2.3",
"5.2-2.4",
"5.2-2.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14957.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2-2.5"
}
]
}
],
"package": {
"name": "libreswan",
"purl": "pkg:deb/debian/libreswan?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.2-2.2",
"5.2-2.3",
"5.2-2.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14957.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #55532 · Revision 1
- Added to Heist Feed
- Publisher date