Incorrect Calculation of Buffer Size Affecting sqlx package, versions <0.8.6-r9


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (3rd 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-WOLFILATEST-SQLX-16787281
  • 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 Wolfi sqlx to version 0.8.6-r9 or higher.

NVD Description

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