Summary
Vulnerability in Libreswan (CVE-2026-50722). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
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.
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のIKEv2認証ペイロード処理において、ASN.1ダイジェストのDERエンコーディングの検証が不適切であり、リモート攻撃者はBleichenbacher攻撃のバリエーションを利用して偽のAUTHペイロードを作成可能です。これにより、偽装攻撃や短いハッシュによるサービス拒否が発生する可能性があります。ただし、リモートコード実行は不可能です。
LibreswanのRSASSA-PKCS1-v1_5によるIKEv2 AUTHペイロード処理の脆弱性
LibreswanのIKEv2認証機能
偽装攻撃とサービス拒否が発生する危険性がある
最新のLibreswanバージョンにアップデートし、適切にパッチを適用する。
小さな公開指数を避け、長いハッシュを使用する。
システムログを監視し、不正なAUTHペイロードやサービス再起動を検出する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Ubuntu UBUNTU-CVE-2026-50722 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