CVE-2026-39892 PUBLISHED

cryptography has a buffer overflow if non-contiguous buffers were passed to APIs

Assigner: GitHub_M
Reserved: 07.04.2026 Published: 08.04.2026 Updated: 08.04.2026

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor pyca
Product cryptography
Versions
  • Version >= 45.0.0, < 46.0.7 is affected

References

Problem Types

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer CWE