GHSA-p423-j2cm-9vmq

ghsaUSosv

Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs

view advisory published 2026-04-08Licence: CC-BY-4.0

If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. `Hash.update()`), this could lead to buffer overflows. For example: ```python h = Hash(SHA256()) b.update(buf[::-1]) ``` would read past the end of the buffer on Python >3.11

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-39892UScritical9.8—
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan