CVE-2025-27498

AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure

Published Mar 3, 2025 CVSS 4.0 · 5.6 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r38m-44fw-h886 AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
Weaknesses CWE-347
References
Metrics cvssV4_0

{'score': 5.6, '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 3, 2025, 5:32 PM
Reserved
Feb 26, 2025, 6:11 PM
Status
Deferred
Published
Mar 3, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:03 AM