CVE-2026-12413

Source
https://cve.org/CVERecord?id=CVE-2026-12413
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-12413.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-12413
Downstream
Related
Published
2026-07-02T22:16:42.517Z
Modified
2026-07-29T03:54:14.562434507Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemblev2incomingfragments() would ignore unknown outer payloads but still store these in a fixed size array msgdigest.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.

References

Affected packages

Git / github.com/libreswan/libreswan

Affected ranges

Type
GIT
Repo
https://github.com/libreswan/libreswan
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.6"
        },
        {
            "fixed": "5.3.1"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*"
}

Affected versions

v4.*
v4.6
v4.7
v4.8
v4.9
v5.*
v5.0rc1
v5.0rc2
v5.1
v5.2
v5.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-12413.json"