{
  "id": "CVE-2026-12413",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12413",
  "published_at": "2026-07-02T21:19:22.177Z",
  "title": "IKEv2 Denial of Service via malformed fragmentation",
  "vendor": "The Libreswan Project",
  "product": "libreswan",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-12T18:31:10Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 132.9,
    "repo": "Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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-\u003edigest_roof \u003c elemsof(md-\u003edigest)) 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.",
  "cwe": "CWE-193",
  "cpes": [
    "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc",
      "url": "https://github.com/Mohammad-Jafar-Shabib/CVE-2026-12413-libreswan-poc",
      "created_at": "2026-11-12T18:31:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-08-10T07:15:50Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "The Libreswan Project",
        "product": "libreswan",
        "ranges": [
          "\u003e= 4.6, \u003c= 5.3"
        ],
        "fixed_in": [
          "5.3.1"
        ]
      }
    ],
    "solutions": [
      "Upgrade to libreswan 5.3.1 or later. Patches for libreswan 4.15 and 5.3 are available at https://libreswan.org"
    ],
    "upgrade": [
      "Upgrade libreswan to 5.3.1 or later."
    ],
    "workarounds": [
      "If fragmentation is not needed, fragmentation=no can be added to all IKEv2 configurations. If fragmentation is needed, no workaround is possible and the fix needs to be applied."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
