Skip to main content
← All vulnerabilities
CVE-2026-39892PYSEC-2026-36GHSA-P423-J2CM-9VMQ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 46.0.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • pyca cryptography

    From 45.0.0 · fixed in 46.0.7

  • cryptographyPyPI

    From 45.0.0 · fixed in 46.0.7

References 1

GitHub · pyca/cryptography