CVE-2026-12413Libreswan
High 7.5 No auth needed
Follow: this CVE · Libreswan · Libreswan We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 2, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libreswan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreswan | libreswan | ≥ 4.6 < 5.3.1 |
Official advisories
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:72287 · Sep 28, 2026 High
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:61779 · Sep 1, 2026 High
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:61258 · Aug 31, 2026 High
Also: Red Hat (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- libreswan.org Vendor Advisory
- libreswan.org Vendor Advisory Mitigation