Incorrect Calculation of Buffer Size Affecting sentry-cli package, versions <3.4.2-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-CHAINGUARDLATEST-SENTRYCLI-16788140
  • published21 May 2026
  • disclosed17 Jul 2026

Introduced: 21 May 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 Chainguard sentry-cli to version 3.4.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sentry-cli package and not the sentry-cli package as distributed by Chainguard. See How to fix? for Chainguard 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