Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-50721: Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of

41
This month
HIGH 8.1REMOTEUPGRADE

CVE-2026-50721 is a high-severity flaw (CVSS 8.1) affecting libreswan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.1 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-347, CWE-617
Published2026-07-02
Last modified2026-10-25
Publisher (CNA): Libreswan Project · Vendor: libreswan

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

libreswan libreswan UPGRADE
Affected: < 5.3.1
Fixed in: 5.3.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy libreswan || rpm -q libreswan || libreswan --version
2. UPGRADE to 5.3.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade libreswan
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade libreswan
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-50721?

libreswan: upgrade to 5.3.1. Exact commands for each OS are on this page.

Is CVE-2026-50721 being exploited?

CVE-2026-50721 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-50721 affect?

CVE-2026-50721 affects libreswan. Severity is high (CVSS 8.1). 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

How urgent is CVE-2026-50721?

Priority 41/100. High severity; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.