Vulnerability DatabaseCVE-2026-134056

CVE-2026-134056: 
Rust vulnerability analysis and mitigation

Overview

CVE-2026-134056 is an out-of-bounds write vulnerability in the padded block cipher decryption implementation of AWS-LC, Amazon's open-source cryptographic library. It affects applications that decrypt CBC or ECB ciphertext with PKCS7 padding across multiple update calls when using the minimum documented output buffer size. Affected versions include AWS-LC before 5.7.0, AWS-LC-FIPS 4.x before 4.2.0, AWS-LC-FIPS 3.x before 3.6.0, AWS-LC-FIPS 2.x before 2.0.18, AWS-LC-FIPS 1.x (all versions, end-of-support), aws-lc-rs >= 1.8.0 and < 1.17.4 or = 1.18.0, aws-lc-sys < 0.45.0, and aws-lc-fips-sys < 0.13.17 or >= 0.14.0 and < 0.14.2. The vulnerability was disclosed on November 23, 2026, with a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 8.3 (High) (AWS Security Bulletin, Feedly).

Technical details

The root cause is an out-of-bounds write (CWE-787) in the EVP_DecryptUpdate function within AWS-LC's padded block cipher decryption logic. When an application decrypts CBC or ECB ciphertext with PKCS7 padding using multiple update calls and allocates only the minimum documented output buffer, AWS-LC can write one byte past the end of that buffer; the aws-lc-rs StreamingDecryptingKey API's less_safe_update function can write up to one full block (16 bytes for AES) past the buffer end. The vulnerability is remotely exploitable with no privileges or user interaction required, but requires the attacker to supply crafted ciphertext to an application performing multi-call decryption. Single-call decryption, padding-free decryption, and modes such as CTR, CFB, and GCM are not affected. The fix was implemented in PR #3460 (Fix EVP_DecryptUpdate output handling) across all supported branches (AWS Security Bulletin, AWS-LC v5.7.0 Release).

Impact

Successful exploitation can cause application crashes (denial of service) or corruption of adjacent memory, potentially enabling further exploitation depending on what data resides in memory beyond the output buffer. The vulnerability does not directly disclose confidential data, so confidentiality impact is none; integrity impact is low due to possible memory corruption. AWS has confirmed that customers of managed AWS services do not need to take action, limiting the blast radius to applications that directly embed and use the affected AWS-LC library versions for multi-call CBC or ECB PKCS7 decryption (AWS Security Bulletin).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, indicating very low current exploitation probability, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires an attacker to supply crafted ciphertext to a vulnerable application performing multi-call padded block cipher decryption, which constrains the attack surface to specific application patterns (Feedly, AWS Security Bulletin).

Exploitation steps

  1. Identify target application: Locate an application that uses AWS-LC (before v5.7.0) or an affected aws-lc-rs/aws-lc-fips-sys version to decrypt CBC or ECB ciphertext with PKCS7 padding via multiple EVP_DecryptUpdate calls (i.e., streaming/chunked decryption).
  2. Craft malicious ciphertext: Prepare ciphertext that, when decrypted, causes the library to attempt writing output data that exceeds the minimum documented output buffer by at least one byte (or up to one AES block via the StreamingDecryptingKey API).
  3. Submit crafted ciphertext: Deliver the crafted ciphertext to the target application through whatever interface it exposes for decryption (e.g., a network API, file upload, or message queue).
  4. Trigger out-of-bounds write: The application's multi-call decryption path invokes EVP_DecryptUpdate (or less_safe_update in aws-lc-rs), causing AWS-LC to write past the end of the output buffer into adjacent memory.
  5. Achieve denial of service or memory corruption: Depending on memory layout, the write may crash the application (DoS) or corrupt adjacent heap/stack data, potentially enabling further exploitation (AWS Security Bulletin).

Indicators of compromise

  • Logs: Unexpected application crashes or segmentation faults in processes using AWS-LC for CBC/ECB PKCS7 decryption; crash dumps referencing EVP_DecryptUpdate or less_safe_update stack frames.
  • Process: Abnormal termination (SIGSEGV, SIGABRT) of services performing streaming/multi-call decryption operations.
  • Network: Repeated or anomalous ciphertext submissions to decryption endpoints, particularly with unusual block sizes or padding structures, from unexpected sources.

Mitigation and workarounds

AWS has released patched versions addressing this vulnerability: AWS-LC v5.7.0, AWS-LC-FIPS v4.2.0, AWS-LC-FIPS-3.6.0, AWS-LC-FIPS-2.0.18, aws-lc-rs v1.17.4 and v1.18.1, aws-lc-sys v0.45.0, and aws-lc-fips-sys v0.13.17 and v0.14.2. Upgrading to these versions is the recommended remediation. As a workaround, applications are not affected if they decrypt in a single update call or if the output buffer is allocated to at least the input length plus one block; no other workaround exists for multi-call decryption with minimum-sized buffers. AWS-LC-FIPS 1.x reached end of support in October 2026 and will not receive a fix — users must upgrade to a supported release. Customers of managed AWS services do not need to take action (AWS Security Bulletin, AWS-LC v5.7.0 Release, AWS-LC-FIPS-3.6.0 Release).

Community reactions

AWS published an official security bulletin (2026-196-AWS) acknowledging the issue and crediting the researcher dywzju09 for responsible disclosure through coordinated vulnerability disclosure. The vulnerability received standard coverage from security news aggregators and CVE tracking services shortly after disclosure, with no notable controversy or exceptional community reaction observed (AWS Security Bulletin).

Additional resources


Source: This report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134056HIGH8.3
  • Rust logoRust
  • aws-lc-fips-sys
NoYesNov 23, 2026
GHSA-8wcq-xq25-7fhmMEDIUM6.5
  • Rust logoRust
  • cookie
NoYesNov 23, 2026
GHSA-2rx9-36wh-cm54MEDIUM5.3
  • Rust logoRust
  • gix
NoNoNov 23, 2026
GHSA-j5gm-p573-w4wqLOW2.2
  • Rust logoRust
  • gix
NoNoNov 23, 2026
GHSA-q7pr-3hx6-cgc4HIGHN/A
  • Rust logoRust
  • smallvec
NoNoNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management