CVE-2026-12413
A public proof of concept exists; no exploitation attested.
- Published2026-07-02
- Fixed in5.3.1
- WeaknessCWE-193 · CWE-617
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2026-07-0222:16CVE publishedNVD
- 2026-11-1310:34First public proof of conceptPoC-in-GitHub
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.3 | ≥ 4.6, < 5.3.1 | 5.3.1 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As libreswan, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- The Libreswan Project libreswanother versions: not affectedAffected
- ≥ 4.6, ≤ 5.3no fix statedsemver
Not affected = 5.3.1
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-02
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libreswanUbuntu:26.10all versions · no fixed version listed
- libreswanUbuntu:26.04:LTSall versions · no fixed version listed
- libreswanUbuntu:25.10all versions · no fixed version listed
- libreswanUbuntu:24.04:LTSall versions · no fixed version listed
- libreswanUbuntu:22.04:LTSall versions · no fixed version listed
- libreswanUbuntu:20.04:LTSall versions · no fixed version listed
- libreswanUbuntu:18.04:LTSall versions · no fixed version listed
- libreswanTuxCare:AlmaLinux:9.6all versions · fixed in 4.15-8.el9_6.tuxcare.els1
28 more package ranges on OSV.dev
Vendor advisories
librenswan: IKEv2 Denial of Service via malformed fragmentation
libreswan as a component of Red Hat OpenShift Container Platform 4 · libreswan.src as a component of Red Hat OpenShift Container Platform 4 · openshift/ose-rhel-coreos-9 as a component of Red Hat OpenShift Container Platform 5
Red Hat Security Advisory: libreswan security update
Red Hat Security Advisory: OpenShift Container Platform 4.19.46 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.21.32 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.20.37 bug fix and security update
Red Hat Security Advisory: libreswan security update
7 more advisories
Fix
- Update Libreswan to 5.3.1
- Vendor fix Red Hat Product Security RHSA-2026:72287 · 5 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:63044 · 4 productsFor OpenShift Container Platform 4.19 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:63041 · 4 productsFor OpenShift Container Platform 4.21 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2026:63100 · 4 productsFor OpenShift Container Platform 4.20 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Workaround from the vendor Red Hat Product Security RHSA-2026:72287 · 11 productsIf upgrading to Libreswan is not an option, you can mitigate the vulnerability by disabling IKEv2 fragment processing: Add the following directive to your global or connection-specific configuration files in /etc/ipsec.conf: ```fragmentation=no``` Warning: Disabling fragmentation may cause larger…
Advisories and patches
- libreswan.orgVendor Advisory
- libreswan.orgVendor Advisory · Mitigation
Detection
read 2026-11-13 10:35 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-13Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-26
- CISA-ADPSSVC decisionnone2026-07-06
- CNACVSS 3.17.5known since 2026-10-26
- CNAweakness (CWE)CWE-193, CWE-617known since 2026-10-26
- FIRST EPSSEPSS score0.8 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-13
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-91779same flawAzure Linux · MIT
- EUVD-2026-41439same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vj68-68x2-jwjqsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2026:46396advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:46397advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:46398advisory covering several CVEsAlmaLinux · MIT
- OESA-2026-2909advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-2910advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-2911advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-2912advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3073advisory covering several CVEsopenEuler · LicenseRef-unstated
- RHSA-2026:46396advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:46397advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:46398advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:46986advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:55449advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:57741advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:61258advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:61779advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:72287advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:46396advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:46397advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:46398advisory covering several CVEsRocky Linux · BSD-3-Clause
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-07-02
- Last modified
- 2026-10-25
- NVD status
- Analyzed
- GitHub advisory
- GHSA-vj68-68x2-jwjq
Frequently asked questions
What is CVE-2026-12413?
Is CVE-2026-12413 actively exploited?
What is the CVSS score for CVE-2026-12413?
Running librenswan? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vj68-68x2-jwjq
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0