CVE-2026-39892: cryptography has a buffer overflow if non-contiguous buffers were passed to APIs
Vulnerability summary
CVE-2026-39892 is a critical (CVSS 9.8) vulnerability in cryptography.io cryptography. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 51.2% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 08-04-2026PublishedVulnerability first disclosed.
- 10-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Decrease -0.11 pp
From 0.76% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-131Incorrect Calculation of Buffer SizeThe product does not correctly calculate the size to be used when allocating a buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard59 products
- airflow-2< 2.11.2-r8
- airflow-3< 3.2.0-r1
- airflow-core-2< 2.11.2-r5
- airflow-core-3< 3.2.0-r2
- apache-beam-python-3.11-sdk< 2.73.0-r6
Wolfi21 products
- airflow-3< 3.2.0-r1
- dask-kubernetes< 2026.3.0-r3
- datadog-agent-7.72-core-integrations< 7.72.4-r27
- datadog-agent-7.73-core-integrations< 7.73.3-r23
- datadog-agent-7.74-core-integrations< 7.74.1-r19
Alpine1 product
- py3-cryptography≥ 45.0.0, < 46.0.7-r0
Cryptography.io1 product
- cryptography≥ 45.0.0, < 46.0.7
Debian1 product
- python-cryptography< 46.0.7-1
Opensuse1 product
- python-cryptography&distro=openSUSE Tumbleweed< 46.0.7-1.1
Pyca1 product
- cryptography≥ 45.0.0, < 46.0.7
PyPI1 product
- cryptography≥ 45.0.0, < 46.0.7
8 vendors · 86 products
References
37 links- github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmqX Refsource CONFIRMWEBAdvisoryVendor Advisory
- www.openwall.com/lists/oss-security/2026/04/08/12WEBAdvisoryMailing ListRelease NotesThird Party Advisory
Show all 37 references
- github.com/pyca/cryptographyPACKAGE