libreswan — security advisory
An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.
- Products
- libreswan
- Affected 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
- Fixed versions
- 5.2-2.5
- CVEs
- CVE-2026-12413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:14 UTC · Revision 2
Source evidence
An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.
osv:DEBIAN-CVE-2026-12413
libreswan
Fixed versions: Not specified
libreswan
Fixed versions: Not specified
libreswan
Fixed versions: 5.2-2.5
Complete source record
{
"id": "c3ae6ed09477de7381a30d55f07a3c7e3ae8b69de8849d7d372ad1ee437967ea",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-12413",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-12413",
"summary": "An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.",
"evidence": "osv:DEBIAN-CVE-2026-12413",
"products": [
{
"name": {
"value": "libreswan",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.10-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.10-2+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "4.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.12-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.12-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.12-3",
"evidence": "/affected/0/versions"
},
{
"value": "4.14-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.14-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "4.15-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.0~rc2-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.0~rc2-2",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2.1",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2.2",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2.3",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2.4",
"evidence": "/affected/0/versions"
},
{
"value": "5.2-2.5",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libreswan",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.2-2.2",
"evidence": "/affected/1/versions"
},
{
"value": "5.2-2.3",
"evidence": "/affected/1/versions"
},
{
"value": "5.2-2.4",
"evidence": "/affected/1/versions"
},
{
"value": "5.2-2.5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libreswan",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.2-2.5",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "5.2-2.2",
"evidence": "/affected/2/versions"
},
{
"value": "5.2-2.3",
"evidence": "/affected/2/versions"
},
{
"value": "5.2-2.4",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-12413",
"aliases": [
"DEBIAN-CVE-2026-12413"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"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-12413.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-12413.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-12413.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:25.910626572Z",
"provider": "osv",
"upstream": [
"CVE-2026-12413"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-12413"
]
},
"related_cves": [
{
"value": "CVE-2026-12413",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450721,
"published_at": "2026-07-02T22:16:42.517+00:00"
}