CVE-2026-50722
Last modified
CVE-2026-50722 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libreswan | Libreswan | < 5.3.1 |
References
- https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txtVendor Advisory, Mailing List
- https://libreswan.org/security/CVE-2026-50722/Vendor Advisory
- https://www.rfc-editor.org/rfc/rfc8017Technical Description
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-50722?
How severe is CVE-2026-50722?
How do I fix CVE-2026-50722?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5071The SocketCAN implementation validates the length of a user-…7.8
- CVE-2026-50710A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.6
- CVE-2026-50711A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.6
- CVE-2026-50712A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.8
- CVE-2026-5072A bitwise shift vulnerability in Zephyr's PTP subsystem allo…6.5
- CVE-2026-50721Libreswan, via the function RSA_authenticate_hash_signature_…5.9
- CVE-2026-5073The ARMember Premium plugin for WordPress is vulnerable to S…7.5
- CVE-2026-50733Markdown Preview Enhanced before 0.8.28 parses WaveDrom diag…8.8
- CVE-2026-50734Memory Allocation with Excessive Size Value vulnerability in…7.5
- CVE-2026-50735pglogical's apply worker does not sufficiently validate the …6.1
- CVE-2026-50736The pglogical queue mechanism, used to convey out-of-band co…9
- CVE-2026-50737When applying replicated changes for a row that is missing o…9
Are you affected by CVE-2026-50722?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
