# CVE-2025-14761: AWS SDK for PHP's S3 Encryption Client has a Key Commitment Issue

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.31% (percentile 17, 2026-11-28)
- **CWE:** CWE-327
- **Aliases:** GHSA-x8cp-jf6f-r4xh
- **Published:** 2025-12-17T20:13:54.665Z
- **Modified:** 2026-09-10T03:50:32.376Z

## Who should check

- Projects that depend on Packagist package aws/aws-sdk-php (\< 3.368.0)
- Anyone running AWS SDK for PHP (versions: see the vendor advisory)

## 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 and fixed versions

- Packagist `aws/aws-sdk-php`: affected \< 3.368.0; fixed 3.368.0 (osv)
- AWS SDK for PHP: see vendor advisory (cvelist)

## Mitigation

- Upgrade aws/aws-sdk-php to 3.368.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-14761. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-14761.md
Affected: aws/aws-sdk-php < 3.368.0
Fixed in: 3.368.0

Steps:
1. Search this machine and project for aws/aws-sdk-php (Packagist), AWS SDK for PHP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-14761 being exploited?

There is no confirmed exploitation: CVE-2025-14761 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-14761?

Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-14761?

aws/aws-sdk-php \< 3.368.0.

### Is there a fix for CVE-2025-14761?

Yes. Fixed in 3.368.0. Upgrade aws/aws-sdk-php to 3.368.0 or later.

### How do I check if I'm affected by CVE-2025-14761?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://aws.amazon.com/security/security-bulletins/AWS-2025-032/>
- vendor: <https://github.com/aws/aws-sdk-php/security/advisories/GHSA-x8cp-jf6f-r4xh>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-14761>
- patch: <https://github.com/aws/aws-sdk-php/releases/tag/3.368.0>
- patch: <https://github.com/aws/aws-sdk-php/commit/6827cac70397dca07e6e86f7cf630954ec2bc6bf>
- other: <https://aws.amazon.com/security/security-bulletins/AWS-2025-032>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2025-14761.yaml>
- other: <https://github.com/aws/aws-sdk-php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-14761>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x8cp-jf6f-r4xh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-14761> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-14761>
