Summary
Vulnerability in Rfc2313 (CVE-2026-50721). Risk of unauthorized operations or information disclosure.
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
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
LibreswanにおけるIKEv1パケットの署名検証に脆弱性がある。特にRSA_authenticate_hash_signature_raw_rsa()関数でパケットの認証ハッシュの長さが正しく検証されていない。この脆弱性を攻撃すると、リモートの攻撃者がBleichenbacher攻撃の変種を用いてSIGペイロードを偽造し、結果としてなりすましが可能になる。また、短いハッシュを用いることでサービス拒否が発生する可能性がある。
LibreswanのRSA署名検証における脆弱性
Libreswan、IKEv1パケット内の署名ペイロード処理
攻撃者がリモートでなりすましや継続的なサービス拒否を引き起こす可能性がある。
認証ハッシュの長さ検証を強化し、Bleichenbacher攻撃に対抗する適切な措置を導入する。
情報なし
IKEv1パケットのSIGペイロードの処理を監視し、予期しない長さの署名があるか確認する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-50721 libreswan
- Ubuntu UBUNTU-CVE-2026-50721 libreswan
References
- advisory libreswan.org
- advisory libreswan.org
- advisory libreswan.org
- web rfc-editor.org
- web nvd.nist.gov
- web libreswan.org
- web github.com