CVE-2025-27498

MEDIUM CVSS 4.0: 5.6 EPSS 0.12%
Updated Mar 03, 2025
aes-gcm
Parameter Value
CVSS 5.6 (MEDIUM)
Fixed In 0.4.3
Type CWE-347 (Improper Verification of Cryptographic Signature)
Vendor aes-gcm
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0