AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Libreswanでは、IKEv1のSIGペイロードの検証に不備があり、遠隔の攻撃者が小さな公開指数を使う環境で署名を偽造し、なりすましを行うおそれがあります。短いハッシュを送ることでデーモンを停止させ、サービス不能に陥らせることも可能です。影響を受ける版や修正版の情報は、最新の情報を確認してください。
LibreswanのRSA署名検証における脆弱性
Libreswan、IKEv1パケット内の署名ペイロード処理
攻撃者がリモートでなりすましや継続的なサービス拒否を引き起こす可能性がある。
認証ハッシュの長さ検証を強化し、Bleichenbacher攻撃に対抗する適切な措置を導入する。
情報なし
IKEv1パケットのSIGペイロードの処理を監視し、予期しない長さの署名があるか確認する。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-50721 libreswan Fix available
- Debian DEBIAN-CVE-2026-50721 libreswan Fix available
- Ubuntu UBUNTU-CVE-2026-50721 libreswan No fixed version in this record
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory libreswan.org
- advisory libreswan.org
- advisory libreswan.org
- web rfc-editor.org
- web nvd.nist.gov
- web libreswan.org
- web github.com