{"id":"CVE-2025-27498","published":"2025-03-03T16:52:02Z","modified":"2025-03-03T17:32:24Z","title":"AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure","vendor":"RustCrypto","product":"AEADs","tier":"tail","description":{"text":"aes-gcm is a pure Rust implementation of the AES-GCM. In decrypt_in_place_detached, the decrypted ciphertext (which is the correct ciphertext) is exposed even if the tag is incorrect. This is because in decrypt_inplace in asconcore.rs, tag verification causes an error to be returned with the plaintext contents still in buffer. The vulnerability is fixed in 0.4.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00168,"percentile":0.03475,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037","tags":["x_refsource_MISC"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.7},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"rustcrypto","affectedVersions":[{"vendor":"RustCrypto","product":"AEADs","versions":["< 0.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-03T17:26:48.023206Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"ascon_aead","vulnerableRanges":["<0.4.3"],"patched":["0.4.3"],"from":["GHSA-r38m-44fw-h886"],"provenance":"source"}],"summary":{"text":"The flaw is in the AEADs (ascon-aead) component of RustCrypto's AEADs product, where decrypt_in_place_detached exposes plaintext in the output buffer even when tag verification fails, because the decrypt_inplace routine in asconcore.rs returns an error without clearing the decrypted contents. An attacker exploiting this needs local access and a high-complexity condition, and must induce user interaction, so that the affected application processes a ciphertext with an invalid tag and then reads the buffer, which may expose data that should have been withheld.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:18Z"},"euvd":{"id":"EUVD-2025-5557","exploited":false,"provenance":"source"}}