# CVE-2026-50722: IKEv2 Denial of Service via RSA-SHA1 (PKCS\#1 RSASSA-PKCS1-v1\_5) authentication payload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-347, CWE-617
- **Published:** 2026-07-02T21:34:41.413Z
- **Modified:** 2026-10-25T21:10:00.770Z

## Who should check

- Anyone running The Libreswan Project libreswan \<= 5.3

## Description

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.

## Affected and fixed versions

- The Libreswan Project libreswan: \<= 5.3 (cvelist)

## Mitigation

- Vendor workaround: If Windows support is not needed, configure authby=ecdsa or authby=rsa-sha2 (or both via authby=ecdsa,rsa-sha2) to disallow the fallback of RSA PKCS\#1 1.5. The leftauth= and rightauth= settings can be updated similarly if those are in use instead of authby.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-50722. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50722.md
Affected: The Libreswan Project libreswan <= 5.3
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for The Libreswan Project libreswan: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-50722 being exploited?

There is no confirmed exploitation: CVE-2026-50722 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-50722?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-50722?

The Libreswan Project libreswan \<= 5.3.

### Is there a fix for CVE-2026-50722?

No fixed version is listed in the sources yet. Vendor workaround: If Windows support is not needed, configure authby=ecdsa or authby=rsa-sha2 (or both via authby=ecdsa,rsa-sha2) to disallow the fallback of RSA PKCS\#1 1.5. The leftauth= and rightauth= settings can be updated similarly if those are in use instead of authby.

### How do I check if I'm affected by CVE-2026-50722?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt>
- vendor: <https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt>
- patch: <https://libreswan.org/security/CVE-2026-50722/>
- article: <https://www.rfc-editor.org/rfc/rfc8017>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-50722>

HTML: <https://flawdb.com/CVE-2026-50722> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-50722>
