Plaintext disclosure via uncleared failed-decryption buffer
Published Sep 22, 2023 · Updated Jun 18, 2025
Information exposure in RustCrypto aes-gcm 0.10.0 through 0.10.2 allows attackers to recover plaintext from rejected ciphertext. decrypt_in_place_detached decrypts the buffer before completing tag verification and returns an error without restoring or clearing the resulting plaintext. Exploitation requires a consuming program to expose the failed-decryption buffer; repeated chosen-ciphertext queries can enable full plaintext recovery.
Summary
What happened
Information exposure in RustCrypto aes-gcm 0.10.0 through 0.10.2 allows attackers to recover plaintext from rejected ciphertext. decrypt_in_place_detached decrypts the buffer before completing tag verification and returns an error without restoring or clearing the resulting plaintext. Exploitation requires a consuming program to expose the failed-decryption buffer; repeated chosen-ciphertext queries can enable full plaintext recovery.
The record
- CVE
- CVE-2023-42811
- Published
- Sep 22, 2023
- Updated
- Jun 18, 2025
- Vendor
- RustCrypto
- Product
- AEADs
- Classifications
- CWE-347
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 22, 2023CVE publishedPublication date reported by the CVE source.
- Jun 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 0.10.0, < 0.10.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Bad-tag buffer disclosure proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo