Package vulnerability, severity medium
AWS-LC out-of-bounds write in padded block cipher decryption (CVE-2026-134056) affects aws-lc-rs and -sys crates
Published
AWS-LC has an out-of-bounds write (CVE-2026-134056) in CBC/ECB decryption with PKCS7 padding when data is decrypted over multiple update calls into a minimum-size output buffer. It can crash the application or corrupt adjacent memory but does not disclose data. The aws-lc-rs StreamingDecryptingKey API has a similar issue, and fixed releases are available.
What's affected
- aws-lc-rs (cargo)>=1.8.0 <1.17.4; >=1.18.0 <1.18.1
- aws-lc-sys (cargo)<0.45.0
- aws-lc-fips-sys (cargo)<0.13.17; >=0.14.0 <0.14.2
What to do
- Upgrade aws-lc-rs to 1.17.4 or 1.18.1, aws-lc-sys to 0.45.0, and aws-lc-fips-sys to 0.13.17 or 0.14.2.
- Make sure any forked or derivative code incorporates the fixes.
- As a partial mitigation, decrypt in a single update call or use an output buffer at least the input length plus one block.
Check whether you were affected
To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it. The check is free and needs no account:
/pharon:check-incident aws-lc-padded-decrypt-oob-write-2026-11Don't wait for the next one to reach the news. Pharon tells the team that owns the affected repo within minutes. Free for 7 days, no card.
Get alerted for the next oneReferences
Notice aws-lc-padded-decrypt-oob-write-2026-11, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.