Skip to content

aws-lc-rs, aws-lc-sys, aws-lc-fips-sys: out-of-bounds write in padded block cipher decryption (GHSA-xv35-xp83-5wrf) - #3711

Open
coderdan wants to merge 2 commits into
rustsec:mainfrom
coderdan:aws-lc-ghsa-xv35-xp83-5wrf
Open

coderdan wants to merge 2 commits into
rustsec:mainfrom
coderdan:aws-lc-ghsa-xv35-xp83-5wrf

Conversation

@coderdan

@coderdan coderdan commented Dec 5, 2026 •

Copy link
Copy Markdown

Affected crate(s)

  • aws-lc-rs (140,187,986 recent downloads)
  • aws-lc-sys (141,747,906 recent downloads)
  • aws-lc-fips-sys (6,934,441 recent downloads)

Links to upstream issue(s) or PR(s)

This adds one advisory for each of the three crates the upstream advisory names. The version ranges are the upstream advisory's.

Severity

Out-of-bounds write (CWE-787). StreamingDecryptingKey with cbc_pkcs7 or ecb_pkcs7 can write past the end of its output buffer. This happens when it decrypts across more than one update call into a buffer of the minimum accepted size. update can write 1 byte too many, and less_safe_update up to one block.

In aws-lc-sys and aws-lc-fips-sys the cause is EVP_DecryptUpdate. Upstream rates it medium, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H.

Checklist

  • Advisory filename(s) starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate

The last item is not ticked. The maintainers published GHSA-xv35-xp83-5wrf publicly on 2026-11-23, with the fixed releases, but it has not been submitted here. We did not ask them separately.

…ws-lc-fips-sys

An out-of-bounds write in padded block cipher decryption across more
than one update call. Published upstream on 2026-11-23.
The lint refuses a GHSA link as the url. aws/aws-lc#3460 is the change
to EVP_DecryptUpdate that the advisory describes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant