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
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-12413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:12 UTC · Revision 1
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:CVE-2026-12413
Complete source record
{
"id": "e0f1444e28819e7b21ec8cd91bde75db8aebf009a4fd5d85bb9d7027715828dc",
"url": "https://osv.dev/vulnerability/CVE-2026-12413",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "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:CVE-2026-12413",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-12413",
"aliases": [
"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": [
{
"repo": "https://github.com/libreswan/libreswan",
"type": "GIT",
"events": [
{
"introduced": "5cb4ea71800792204de69a9f546ca6a41f377bf3"
},
{
"fixed": "de24519eb4ff49803a21d75e880c87834cf33beb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.6"
},
{
"fixed": "5.3.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.3",
"v5.2",
"v5.1",
"v5.0rc2",
"v5.0rc1",
"v4.9",
"v4.8",
"v4.7",
"v4.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12413.json"
}
}
],
"modified": "2026-10-27T02:30:58.707869425Z",
"provider": "osv",
"references": [
"https://libreswan.org/security/CVE-2026-12413/",
"https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2026-12413",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 460073,
"published_at": "2026-07-02T22:16:42.517+00:00"
}