
CVE catalog
CVE-2026-50722
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
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | fixed |
| Debian | libreswan | forky | 5.2-2.5 | fixed |
| Debian | libreswan | trixie | 5.2-2.2 | vulnerable |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | vulnerable |
| Cpe | libreswan | Not reported | Not reported | vulnerable |
| Cpe | libreswan | Not reported | 5.3.1 | fixed |
| Cpe | libreswan | Not reported | 5.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | 5.2-2.5 | not yet assigned | Not reported | [1141390] |
| Debian | libreswan | source | forky | 5.2-2.5 | not yet assigned | Not reported | [1141390] |
| Debian | libreswan | source | trixie | (unfixed) | not yet assigned | Not reported | [1141390] |
| Debian | libreswan | source | bookworm | (unfixed) | not yet assigned | Not reported | [1141390] |
| Cpe | libreswan | cpe | Not reported | 5.3.1 | Not reported | Not reported | Not reported |
| Cpe | libreswan | cpe | Not reported | 5.3.1 | Not reported | NVD-CVE-2026-50722 | Not reported |
Notes
[trixie] libreswan: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libreswan]Unknown
Details (2)
4.10-2+deb12u1· amd64 · bookwormAffected
nvd · libreswan · debian · bookworm; nvd · libreswan · debian · 12
4.10-2+deb12u1· arm64 · bookwormAffected
nvd · libreswan · debian · bookworm; nvd · libreswan · debian · 12
[Debian 13 (Trixie)]
- [libreswan]Unknown
Details (2)
5.2-2.2· amd64 · trixieAffected
nvd · libreswan · debian · 13
5.2-2.2· arm64 · trixieAffected
nvd · libreswan · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_46396.json]
- [https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt]
- [https://libreswan.org/security/CVE-2026-50722/]
- [https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-50722]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-50722]
- [https://security-tracker.debian.org/tracker/CVE-2026-50722]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50722.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3043.json]
- [https://www.rfc-editor.org/rfc/rfc8017]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]