CVE-2026-50721
Last modified
CVE-2026-50721 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote attacker can use a variation on the Bleichenbacher attack to forge the SIG payload when small public exponents are being used (e.g., e=3), which could lead to impersonation. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote attacker can use a variation on the Bleichenbacher attack to forge the SIG payload when small public exponents are being used (e.g., e=3), which could lead to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the SIG 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 remote IKE peers 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/Vendor Advisory
- https://www.rfc-editor.org/rfc/rfc2313Technical Description
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-50721?
How severe is CVE-2026-50721?
How do I fix CVE-2026-50721?
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-50709A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.8
- 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-50722Libreswan, 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
Are you affected by CVE-2026-50721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
