CVE-2026-39892: 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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-39892 affects the Python cryptography package. Versions 45.0.0 through 46.0.6 can overflow memory when certain non-contiguous buffers are passed into buffer-accepting APIs. Because cryptography is widely embedded in Python software, exposure depends on dependency versions and whether applications pass those buffer types.
Executive priority
Treat as high priority for patch management, especially in internet-facing Python services and vendor-managed platforms. There is a fixed upstream release, and no active exploitation is cited in the bundle, so rapid normal remediation is appropriate unless local exposure is confirmed.
Technical view
The flaw is a buffer overflow in pyca cryptography when non-contiguous Python buffers are supplied to APIs accepting Python buffers, such as Hash.update(). The affected range is >=45.0.0 and <46.0.7. It is classified as CWE-119 and CWE-131 with CVSS 3.1 score 7.3.
Likely exposure
Most likely exposure is Python applications, services, containers, and vendor packages that bundle cryptography versions 45.0.0 through 46.0.6. Direct exposure requires vulnerable API usage with non-contiguous buffers; the bundle does not identify specific downstream applications beyond Red Hat advisories.
Exploitation context
The source bundle marks KEV as false and provides no cited evidence of active exploitation. The CVSS vector indicates network attack vector, low complexity, no privileges, and no user interaction, but practical exploitability depends on application-specific buffer handling.
Researcher notes
Focus validation on the affected version window and API paths accepting Python buffers. The public bundle names the vulnerable condition but does not provide downstream exploit evidence, product-specific reachability, or detailed trigger conditions beyond non-contiguous buffers.
Mitigation direction
Upgrade pyca cryptography to 46.0.7 or later.
Apply relevant Red Hat security advisories where cryptography is vendor-managed.
Inventory Python lockfiles, images, and system packages for affected versions.
Check vendor guidance for bundled or appliance-delivered Python components.
Prioritize externally reachable services handling untrusted binary or buffer-like input.
Validation and detection
Confirm installed cryptography versions are outside >=45.0.0 and <46.0.7.
Review dependency manifests, SBOMs, and container layers for cryptography.
Identify code paths passing memoryview, NumPy, or other buffer objects into cryptography APIs.
Verify Red Hat errata applicability for managed platforms and packages.
Monitor vendor advisories for downstream product-specific exposure statements.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-119: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.