Home / ex-aws / ex_aws_kms / CVE-2026-62271
CVE-2026-62271: is it exploited, and which versions of ex_aws_kms are affected and fixed?
CVE-2026-62271 is an use of RSA Algorithm without OAEP vulnerability in ex_aws_kms. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: ex_aws_kms from 2.1.0 before 2.7.0 (CVE record by EEF). Fixed in 2.7.0 (CVE record by EEF). Severity: Low (2.1, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record December 1, 2026, 17:00 UTC and NVD December 1, 2026, 18:12 UTC.
What is CVE-2026-62271?
ex_aws_kms defaults RSA key-material wrapping to PKCS#1 v1.5 in get_parameters_for_import/3
Use of RSA Algorithm without OAEP vulnerability in ex-aws ex_aws_kms (ExAws.KMS module) causes callers who import external key material to wrap their secret KMS key material with the deprecated PKCS#1 v1.5 padding scheme by default. This vulnerability is associated with program file lib/ex_aws/kms.ex and program routine ExAws.KMS.get_parameters_for_import/3. ExAws.KMS.get_parameters_for_import/3 defaults its wrapping_algorithm argument to "RSAES_PKCS1_V1_5". AWS KMS returns this value as the WrappingAlgorithm for the import operation, and it dictates the RSA padding scheme the caller uses to wrap (RSA-encrypt) their secret key material before calling ImportKeyMaterial. AWS KMS also supports the stronger RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256 schemes. By defaulting to RSAES_PKCS1_V1_5, the library steers callers who do not explicitly override the argument toward the weakest of the three. PKCS#1 v1.5 encryption padding is susceptible to Bleichenbacher adaptive chosen-ciphertext (padding oracle) attacks, which can recover the wrapped plaintext without the private key given an oracle that reveals whether a decrypted value was validly padded. Because the unwrap happens inside AWS KMS, which does not expose a padding oracle, the practical exploitability is low and this is a defense-in-depth weakness. Callers can avoid the weak default by explicitly passing "RSAES_OAEP_SHA_256" (or "RSAES_OAEP_SHA_1") as the wrapping algorithm. This issue affects ex_aws_kms: from 2.1.0 before 2.7.0.
From the CVE record by EEF, last updated December 1, 2026, 16:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ex-aws | ex_aws_kms | from 2.1.0 before 2.7.0 | 2.7.0 |
| ex-aws | ex_aws_kms ex-aws/ex_aws_kms | not stated |
As the CVE record by EEF states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-62271?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-62271 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 1, 2026)
- EPSS
- 0.10% probability of exploitation activity in the next 30 days, percentile 0.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-780 Use of RSA Algorithm without OAEP
Is there a workaround? (from the CVE record)
Explicitly pass "RSAES_OAEP_SHA_256" (or "RSAES_OAEP_SHA_1") as the wrapping_algorithm argument to ExAws.KMS.get_parameters_for_import/3 instead of relying on the default, and wrap the key material with the corresponding OAEP padding scheme.
Where are the vendor advisories and references?
- https://github.com/ex-aws/ex_aws_kms/security/advisories/GHSA-wq7g-9pm7-5crv vendor-advisory, related
- EEF CNA record for CVE-2026-62271 related
- OSV record EEF-CVE-2026-62271 related
- Introducing commit b66631f in ex-aws/ex_aws_kms related
- Fix commit 2d7f308 in ex-aws/ex_aws_kms patch
Who found and reported it?
- Peter Ullrich (finder)
- Peter Ullrich (reporter)
- Jonatan Männchen / EEF (analyst)
- Peter Ullrich (coordinator)
- Bernard Duggan (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 13, 2026
- Published
- November 24, 2026, 12:22 UTC
- CVE record updated
- December 1, 2026, 16:51 UTC by EEF
- NVD
- Awaiting Analysis, last modified December 1, 2026, 17:17 UTC
- Last checked
- CVE list December 1, 2026, 17:00 UTC; NVD December 1, 2026, 18:12 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-62271
Is CVE-2026-62271 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ex_aws_kms are affected by CVE-2026-62271?
ex_aws_kms from 2.1.0 before 2.7.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-62271?
2.7.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-62271?
Low (2.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-62271?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.