Incorrect Calculation of Buffer Size Affecting rust-debugger-common package, versions <0:1.97.0-2.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-RUSTDEBUGGERCOMMON-18910825
  • published18 Aug 2026
  • disclosed17 Jul 2026

Introduced: 17 Jul 2026

CVE-2026-45784  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 rust-debugger-common to version 0:1.97.0-2.amzn2023 or higher.
This issue was patched in ALAS2023-2026-2065.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-debugger-common package and not the rust-debugger-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.50 until 0.10.80, CipherCtxRef::cipher_update_inplace in openssl/src/cipher_ctx.rs incorrectly sized output buffers when used with AES key-wrap-with-padding ciphers EVP_aes_{128,192,256}_wrap_pad. For a non-multiple-of-8 input, OpenSSL writes up to 7 bytes past the end of the caller's buffer or Vec, producing attacker-controllable heap corruption when the plaintext length is attacker-influenced. This issue is fixed in version 0.10.80.

CVSS Base Scores

version 3.1