Buffer Overflow in cryptography 45.x-46.0.6 via non-contiguous buffers
CVE-2026-39892 Published on April 8, 2026
cryptography has a buffer overflow if non-contiguous buffers were passed to APIs
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.
Vulnerability Analysis
CVE-2026-39892 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Weakness Types
What is a Buffer Overflow Vulnerability?
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
CVE-2026-39892 has been classified to as a Buffer Overflow vulnerability or weakness.
Incorrect Calculation of Buffer Size
The software does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
Products Associated with CVE-2026-39892
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
pyca cryptography:- Version >= 45.0.0, < 46.0.7 is affected.
- Version 0:4.6.29-2.el8ap and below * is unaffected.
- Version 0:46.0.7-1.el8ap and below * is unaffected.
- Version 0:4.6.29-2.el9ap and below * is unaffected.
- Version 0:46.0.7-1.el9ap and below * is unaffected.
- Version 0:4.7.12-1.el9ap and below * is unaffected.
- Version 0:46.0.7-1.el9ap and below * is unaffected.
- Version 1782353093 and below * is unaffected.
- Version 1782352847 and below * is unaffected.
- Version 1779762270 and below * is unaffected.
- Version 1779759716 and below * is unaffected.
- Version 1779734628 and below * is unaffected.
- Version 1779773804 and below * is unaffected.
- Version 1779761061 and below * is unaffected.
- Version 1779760844 and below * is unaffected.
- Version 1779395228 and below * is unaffected.
- Version 46.0.7-1.hum1 and below * is unaffected.
- Version 1780069069 and below * is unaffected.
- Version 1782471587 and below * is unaffected.
- Version 1782472374 and below * is unaffected.
- Version 1782471606 and below * is unaffected.
- Version 1779822261 and below * is unaffected.
- Version 1779811412 and below * is unaffected.
- Version 1779689392 and below * is unaffected.
- Version 1780891395 and below * is unaffected.
- Version 1779204086 and below * is unaffected.
- Version 1779922205 and below * is unaffected.
- Version 1779811473 and below * is unaffected.
- Version 1780914886 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.