Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach IKEv2 listener (UDP/500,4500)
-
DeliveryInitiate IKE_AUTH exchange
-
ExploitSend forged PKCS#1 v1.5 AUTH payload
-
ExecutionLax DER parser accepts e=3 signature
-
PersistImpersonate trusted VPN peer (or short-hash assertion aborts daemon
-
ImpactDoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | For the impersonation/forgery path, the required condition is that the authenticating peer uses IKEv2 AUTH with RSASSA-PKCS1-v1_5 raw RSA signatures AND an RSA key with a small public exponent such as e=3 - this non-default key configuration is the exact prerequisite and the primary limiting factor (modern keys typically use e=65537, which is not vulnerable to the low-exponent forgery). The attack requires network reach to the IKE listener (UDP/500 or UDP/4500) and is unauthenticated (PR:N), with high complexity (AC:H). For the denial-of-service path, the only prerequisite is the ability to send a crafted IKEv2 AUTH payload with a shorter-than-expected hash to the daemon; no small-exponent key is needed, making it broadly reachable but limited to service disruption (daemon abort/restart) rather than compromise. X.509 certificate-based peer verification is not exploitable via this flaw. |
| Impact | The NVD CVSS 3.1 score is 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H): network-reachable and unauthenticated (PR:N), but with high attack complexity (AC:H) reflecting the cryptographic conditions and math required. The impersonation impact is gated on the target/peer using a small public exponent such as e=3, which is a non-default and increasingly uncommon key configuration - this materially lowers real-world exploitability for the forgery path and justifies AC:H. The DoS path (short hash → assertion → daemon abort/restart) is far more broadly reachable and requires no special key configuration, making availability the most realistic mass-impact vector. No EPSS score, KEV listing, or POC was provided, so there is no evidence of active exploitation; treat this as a serious cryptographic authentication bypass to patch promptly on internet-facing IKE endpoints rather than a confirmed in-the-wild threat. Note the tags include 'RCE' and 'Jwt Attack', but the description explicitly states remote code execution is not possible and the attack is a PKCS#1 v1.5 (not JWT) signature-forgery - treat those tags as inaccurate. |
| Exploit ScenarioDerived | An attacker who can reach the victim's IKEv2 endpoint initiates an IKE_AUTH exchange and submits a forged RSASSA-PKCS1-v1_5 AUTH payload; if the peer key uses a small exponent like e=3, the lax DER parser accepts the crafted signature and the attacker impersonates a trusted peer to establish a VPN tunnel. Alternatively, the attacker repeatedly sends AUTH payloads containing a shorter-than-expected hash, tripping an assertion that aborts the daemon on each attempt for a sustained denial of service. No public exploit code was identified, and the forgery path's high complexity (AC:H) reflects the non-default e=3 requirement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 02, 2026
Peer impersonation and denial-of-service in Libreswan IPsec/IKEv2 arises from improper DER/ASN.1 digest verification in RSA_authenticate_hash_signature_pkcs1_1_5_rsa() when the IKEv2 AUTH payload uses RSASSA-PKCS1-v1_5 signatures. A remote unauthenticated attacker can mount a Bleichenbacher-style forgery to impersonate a peer when small RSA public exponents (e.g., e=3) are in use, or send an undersized hash to trip an assertion that aborts and restarts the daemon for sustained DoS. A vendor patch is available and there is no public exploit identified at time of analysis; RCE is not possible and X.509 certificate verification of the peer is unaffected.
Earlier versions of this analysis (2)
Peer impersonation and denial-of-service in Libreswan IKEv2 affect deployments where remote IKE peers authenticate with RSASSA-PKCS1-v1_5 signatures. Because RSA_authenticate_hash_signature_pkcs1_1_5_rsa() fails to strictly validate the DER-encoded ASN.1 digest, a remote attacker can mount a Bleichenbacher-style signature-forgery attack against peers using small public exponents (e.g., e=3) to forge a valid AUTH payload and impersonate a trusted peer, or send an undersized hash to trip an assertion that aborts and restarts the daemon for a sustained DoS. There is no public exploit identified at time of analysis; the flaw is signature-verification-only and cannot lead to remote code execution.
Authentication bypass and denial-of-service in Libreswan's IKEv2 RSASSA-PKCS1-v1_5 signature handling allow a remote unauthenticated attacker to impersonate an IKE peer and to repeatedly crash the daemon. The flaw is a Bleichenbacher-style signature-forgery weakness in RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), where lax DER/ASN.1 digest verification lets a forged AUTH payload validate when the peer uses a small public exponent (e.g. e=3); a separately crafted short-hash AUTH payload trips an assertion that aborts the daemon. Vendor (Libreswan) reported it with a patch available; there is no public exploit identified at time of analysis, and it is not in CISA KEV.
RemediationAI
Apply the vendor-released Libreswan patch published at https://libreswan.org/security/CVE-2026-50722/ and detailed in the advisory https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt (upgrade to the fixed release once the exact version is confirmed from that advisory, as the input does not name a specific fix version). Until patched, mitigate the impersonation path by avoiding small RSA public exponents (do not use e=3 keys; use e=65537) and, where feasible, migrate peer authentication from raw RSASSA-PKCS1-v1_5 signatures to X.509 certificate-based authentication (unaffected) or to stronger signature schemes - with the trade-off of coordinated configuration changes on both peers. For the DoS path, restrict IKE reachability by firewalling UDP/500 and UDP/4500 to known VPN peer addresses so untrusted hosts cannot send crafted AUTH payloads, accepting that this only helps where peer IPs are predictable; monitor and auto-restart the daemon (e.g., via systemd) as a stopgap, noting it does not stop sustained abort loops.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Libreswan is an open-source IKE/IPsec VPN daemon (a Openswan/FreeS/WAN descendant) widely used on Linux to establish IKEv2 security associations. The flaw is in its verification of RSASSA-PKCS1-v1_5 signatures (RFC 8017 / PKCS#1 v1.5) carried in the IKEv2 AUTH payload during peer authentication. The root cause maps to CWE-347 (Improper Verification of Cryptographic Signature): the code failed to strictly validate the DER encoding of the ASN.1 DigestInfo structure wrapping the hash, allowing extra bytes to be smuggled around the hash. This is the classic precondition for a Bleichenbacher low-exponent signature-forgery attack, where a cube-root can be crafted into a value that passes a lax parser as a valid e=3 signature. The affected component is only the raw-RSA-signature AUTH path; the separate X.509 certificate chain verification of the remote peer is explicitly not affected.
Know when Libreswan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable and unauthenticated (PR:N); forgery needs the non-default small-exponent condition, giving AC:H; impersonation yields C:H/I:H and daemon-abort DoS gives A:H.
Primary rating from Vendor (libreswan).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER encoding of the ASN.1 digest when the IKEv2 AUTH payload was encoded using RSASSA-PKCS1-v1_5 (RFC 8017). A remote attacker can use a variation on the Bleichenbacher attack to forge the AUTH payload when small public exponents are used (e.g., e=3), leading to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the AUTH payload, could trigger an assertion leading to denial-of-service. The daemon aborts and restarts; continued exploitation causes sustained denial of service. Remote code execution is not possible. X.509 certificate verifications of the remote IKE peer are not affected.
Executive ViewAI
Libreswan, a widely-deployed IPsec implementation, contains a flaw in RSA signature verification that permits unauthenticated remote attackers to either forge authentication credentials to impersonate VPN peers or disable VPN gateways through denial-of-service attacks. No public exploit identified at time of analysis; however, this vulnerability exposes organizations using Libreswan for remote access or site-to-site VPN connectivity to unauthorized network access and service disruptions that could compromise business continuity.
Apply vendor patch. Interim: migrate affected IKE peers to RSA-PSS signatures (if supported by endpoint); restrict IKE traffic to known peer IP ranges only; enable detailed IKE authentication logging to detect forged AUTH payloads.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Race condition in the libreswan.spec files for Red Hat Enterprise Linux (RHEL) and Fedora packages in libreswan 3.6 has
In Libreswan 3.27 an assertion failure can lead to a pluto IKE daemon restart. Rated high severity (CVSS 7.5), this vuln
Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and daemon restart) via crafted TS pa
The ikev2parent_inI1outR1 function in pluto/ikev2_parent.c in libreswan before 3.7 allows remote attackers to cause a de
Libreswan 3.16 might allow remote attackers to cause a denial of service (daemon restart) via an IKEv2 aes_xcbc transfor
programs/pluto/ikev1.c in libreswan before 3.17 retransmits in initial-responder states, which allows remote attackers t
libreswan before 3.18 allows remote attackers to cause a denial of service (NULL pointer dereference and pluto daemon re
Denial of service in the Libreswan IPsec VPN's pluto daemon allows remote unauthenticated attackers to crash and repeate
Unauthenticated remote denial of service in Libreswan's pluto IKE daemon allows any network attacker to repeatedly crash
pluto in Libreswan before 4.11 allows a denial of service (responder SPI mishandling and daemon crash) via unauthenticat
A vulnerability was found in the libreswan library. Rated high severity (CVSS 7.5), this vulnerability is remotely explo
An out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an unau
Vendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Liberty Linux 10 | Fixed |
| SUSE Liberty Linux 8 | Fixed |
| SUSE Liberty Linux 9 | Fixed |
EUVD-2026-41440
GHSA-h4cv-5vw8-2p6m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB