Skip to main content
CVE-2026-50722VulnerabilityPublished Updated

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)

Affects libreswanSource GCVE Database

0
Compare
Authoritative record:CVE-2026-50722· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 20:42 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libreswanpkg:deb/ubuntu/libreswan?arch=source&distro=stonkingOther threatsAffected
  • =5.2-2.2ubuntu2
Fixed in–
Ubuntu 26.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=resoluteOther threatsAffected
  • =5.2-2.2ubuntu1
  • =5.2-2.2ubuntu2
Fixed in–
Ubuntu 25.10libreswanpkg:deb/ubuntu/libreswan?arch=source&distro=questingOther threatsAffected
  • =4.14-1ubuntu2
  • =5.2-2.2ubuntu1
Fixed in–
Ubuntu 24.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=nobleOther threatsAffected
  • 4.11-1ubuntu1 – 4.14-1ubuntu2
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=jammyOther threatsAffected
  • =3.32-3ubuntu3
Fixed in–
Ubuntu 20.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=focalOther threatsAffected
  • =3.29-2
  • =3.29-2build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…