What’s Vulnerable › Vulnerabilities
CVE-2025-14761: AWS SDK for PHP's S3 Encryption Client has a Key Commitment Issue
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-17 · updated 2026-06-17
- Weakness: CWE-327
Description
Missing cryptographic key commitment in the AWS SDK for PHP 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 AWS SDK for PHP to version 3.368.0 or later
Affected products
- Packagist Aws/Aws-Sdk-Php: before 3.368.0; 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1 (+494) — fixed in 3.368.0
How to fix
Upgrade to a fixed version: Packagist Aws/Aws-Sdk-Php 3.368.0. Check the vendor advisory for mitigations.
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-032/
- https://github.com/aws/aws-sdk-php/releases/tag/3.368.0
- https://github.com/aws/aws-sdk-php/security/advisories/GHSA-x8cp-jf6f-r4xh
Get alerted when CVE-2025-14761 or the next vulnerability affects your stack