CVE-2025-14764 Amazon S3 Encryption Client has a Key Commitment Issue
A missing key commitment in the Amazon S3 Encryption Client for Go allows attackers with write access to manipulate encrypted data keys, potentially compromising data integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-14764?
CVE-2025-14764 is a medium-severity vulnerability in AWS S3 Encryption Client for Go, published on 17 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Missing cryptographic key commitment in the Amazon S3 Encryption Client for Go may allow a user with write access to the S3 bucket to introduce a new EDK that decrypts to different plaintext when the encrypted data key is stored in an "instruction file" instead of S3's metadata record.
To mitigate this issue, upgrade Amazon S3 Encryption Client for Go to version 4.0 or later.
Weakness: CWE-327
Which versions are affected by CVE-2025-14764?
5 open source packages ship an affected version, including github.com/aws/amazon-s3-encryption-client-go/v3, github.com/aws/amazon-s3-encryption-client-go and github.com/aws/amazon-s3-encryption-client-go/v4.
| Package | Affected | Fixed in |
|---|---|---|
github.com/aws/amazon-s3-encryption-client-go/v3 Go | All versions | None |
github.com/aws/amazon-s3-encryption-client-go/v3 Go | All versions | 4.0.0 |
github.com/aws/amazon-s3-encryption-client-go/v3 Go | All versions | 4.0.0 |
github.com/aws/amazon-s3-encryption-client-go Go | All versions | None |
github.com/aws/amazon-s3-encryption-client-go/v4 Go | All versions | 4.0.0 |
How do I fix CVE-2025-14764?
Upgrade github.com/aws/amazon-s3-encryption-client-go/v3 to 4.0.0 or later.
Is CVE-2025-14764 being exploited?
There is no known exploitation of CVE-2025-14764 in the wild and no public exploit code.
Sources
Also known as GHSA-3g75-q268-r9r6, GO-2025-4250.