# CVE-2025-14762: AWS SDK for Ruby'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 16, 2026-11-26)
- **CWE:** CWE-327
- **Aliases:** GHSA-2xgq-q749-89fq
- **Published:** 2025-12-17T20:15:57.540Z
- **Modified:** 2026-09-30T23:10:00.237Z

## Who should check

- Projects that depend on RubyGems package aws-sdk-s3 (\< 1.208.0)
- Anyone running AWS SDK for Ruby (versions: see the vendor advisory)

## Description

Missing cryptographic key commitment in the AWS SDK for Ruby 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 Ruby to version 1.208.0 or later.

## Affected and fixed versions

- RubyGems `aws-sdk-s3`: affected \< 1.208.0; fixed 1.208.0 (osv)
- AWS SDK for Ruby: see vendor advisory (cvelist)

## Mitigation

- Upgrade aws-sdk-s3 to 1.208.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-14762. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-14762.md
Affected: aws-sdk-s3 < 1.208.0
Fixed in: 1.208.0

Steps:
1. Search this machine and project for aws-sdk-s3 (RubyGems), AWS SDK for Ruby: 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-14762 being exploited?

There is no confirmed exploitation: CVE-2025-14762 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-26).

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

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

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

aws-sdk-s3 \< 1.208.0.

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

Yes. Fixed in 1.208.0. Upgrade aws-sdk-s3 to 1.208.0 or later.

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

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-ruby/security/advisories/GHSA-2xgq-q749-89fq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-14762>
- patch: <https://rubygems.org/gems/aws-sdk-s3/versions/1.208.0>
- patch: <https://github.com/aws/aws-sdk-ruby/commit/b633ba10cd2fbc4cc770b76ab531ed9647654044>
- other: <https://aws.amazon.com/security/security-bulletins/AWS-2025-032>
- other: <https://github.com/aws/aws-sdk-ruby>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/aws-sdk-s3/CVE-2025-14762.yml>

## 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-14762>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2xgq-q749-89fq> (license: <https://creativecommons.org/licenses/by/4.0/>)

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