All reports
High

libreswan: Malicious IKEv1 Aggressive Mode packets can crash libreswan

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-30570

Probability of exploitation in the next 30 days: 1.19%

FIRST EPSS · 2026-11-18

Description

pluto in Libreswan before 4.11 allows a denial of service (responder SPI mishandling and daemon crash) via unauthenticated IKEv1 Aggressive Mode packets. The earliest affected version is 3.28.

A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible.