Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-50722: Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER

40
This month
HIGH 8.1REMOTEUPGRADE

CVE-2026-50722 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_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 expect

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.3% (top 72%)
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-50722?

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

Is CVE-2026-50722 being exploited?

CVE-2026-50722 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-50722 affect?

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

How urgent is CVE-2026-50722?

Priority 40/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.