# CVE-2026-12413 — libreswan

> As of 2026-07-02, CVE-2026-12413 is a HIGH-severity vulnerability in libreswan, CVSS v3.1 7.5. No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-12413 as of 2026-07-02; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-07-02

## What is CVE-2026-12413?

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 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.

The record classifies CVE-2026-12413 under weakness classes [CWE-193](https://cwe.mitre.org/data/definitions/193.html), [CWE-617](https://intel.threadlinqs.com/cwe/CWE-617). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 95 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.5 — HIGH (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 3.8/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-07-02

## Is CVE-2026-12413 being exploited?

It currently carries a trending score of 30 in the Threadlinqs vulnerability feed.

## Affected products and versions

- **The Libreswan Project**: libreswan

## How to fix CVE-2026-12413

No vendor patch reference has been recorded for CVE-2026-12413 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-12413

No threat campaign in the Threadlinqs corpus currently references CVE-2026-12413, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, NVD. Last verified by Threadlinqs on 2026-07-04. This product uses the NVD API but is not endorsed or certified by the NVD.

**Other references**

- [libreswan.org](https://libreswan.org/security/CVE-2026-12413/CVE-2026-12413.txt)
- [libreswan.org (CVE 2026 12413)](https://libreswan.org/security/CVE-2026-12413/)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-12413
Full detection coverage and IOCs for threats exploiting CVE-2026-12413 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
