Skip to main content

CVE-2026-134056 - Out-of-bounds write in padded block cipher decryption in AWS-LC

Bulletin ID: 2026-196-AWS
Scope: AWS
Content Type: Important (requires attention)
Publication Date: 11/23/2026 12:00 PM PST


Description:

AWS-LC is an open-source, general-purpose cryptographic library.

We identified CVE-2026-134056, an out-of-bounds write issue in AWS-LC's padded block cipher decryption. It affects applications that decrypt CBC or ECB ciphertext with PKCS7 padding over multiple update calls. If the output buffer is the minimum documented size, AWS-LC can write one byte past its end. This might crash the application or corrupt adjacent memory. This issue does not disclose data. The aws-lc-rs StreamingDecryptingKey API has a similar issue with cbc_pkcs7 and ecb_pkcs7. Its less_safe_update function can write up to one block (16 bytes for AES) past the buffer.

Single-call decryption is not affected. Neither is decryption without padding, nor modes such as CTR, CFB, and GCM.

Customers of AWS services do not need to take action.

Impacted versions:

  • AWS-LC < v5.7.0
  • AWS-LC-FIPS >= v4.0.0, < v4.2.0
  • AWS-LC-FIPS >= v3.0.0, < v3.6.0
  • AWS-LC-FIPS >= v2.0.0, < v2.0.18
  • AWS-LC-FIPS 1.x is affected and reached end of support in October 2026.
  • aws-lc-rs >= v1.8.0, < v1.17.4,
  • aws-lc-rs = v1.18.0
  • aws-lc-sys < v0.45.0
  • aws-lc-fips-sys < v0.13.17
  • aws-lc-fips-sys >= v0.14.0, < v0.14.2

Resolution:

This issue has been addressed in the following versions:

We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds:

Applications are not affected if they decrypt in a single update call. They are also not affected if the output buffer is at least the input length plus one block. Otherwise, there is no workaround. Upgrade to a fixed version. AWS-LC-FIPS 1.x reached end of support in October 2026 and will not receive a fix. Upgrade to a supported, fixed AWS-LC-FIPS release.

References:

Acknowledgement:

We would like to thank dywzju09 for collaborating on this issue through the coordinated vulnerability disclosure process.

Please email aws-security@amazon.com with any security questions or concerns.