Out-of-bounds Write Affecting cryptography package, versions [45.0.0, 46.0.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.65% (47th 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-PYTHON-CRYPTOGRAPHY-15953315
  • published9 Apr 2026
  • disclosed8 Apr 2026
  • creditUnknown

Introduced: 8 Apr 2026

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

How to fix?

Upgrade cryptography to version 46.0.7 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the update function when non-contiguous buffers are provided as input. An attacker can cause memory corruption or unintended behavior by supplying specially crafted non-contiguous buffers to APIs that accept Python buffers.

Note: This is only exploitable if the Python version is greater than 3.11.

CVSS Base Scores

version 4.0
version 3.1