cve.bz

CVE-2026-39892 cryptography.io cryptography: Incorrect Calculation of Buffer Size

6.9 mediumEPSS 0.7%Fix available

Medium (6.9) in cryptography.io cryptography. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 46.0.7.

On this page
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.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-131 Incorrect Calculation of Buffer Size
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39892 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39892?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39892?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39892 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cryptography.io:cryptographyfrom 45.0.0 before 46.0.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p423-j2cm-9vmqPyPIcryptography>=45.0.0 <46.0.746.0.7
PYSEC-2026-36PyPIcryptography>=45.0.0 <46.0.746.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14python-cryptography46.0.7-1DEBIAN-CVE-2026-39892
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.29-2.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy-server0:2.5.10-6.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20260422-3.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.2.0-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8python3.12-click0:8.3.3-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8python3.12-cryptography0:46.0.7-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.5-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.29-2.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy-server0:2.6.14-3.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20260422-3.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9python3.12-pillow0:12.2.0-1.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9python3.12-click0:8.3.3-1.el9apRHSA-2026:24761
14 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedpython-cryptography46.0.7-1.1openSUSE-SU-2026:10535-1
Alpinev3.23, v3.24py3-cryptography46.0.7-r0ALPINE-CVE-2026-39892
Alpaquitastreampy3-cryptography46.0.7-r0BELL-CVE-2026-39892

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

In default configurations Red Hat products isolate service processes from total system access. Should an attacker be able to exploit this vulnerability their impact will be limited to that service account and they will not have access to the broader system.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.29-2.el8apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-cryptography-0:46.0.7-1.el8apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.29-2.el9apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-cryptography-0:46.0.7-1.el9apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.12-1.el9apFixed 2026-06-09RHSA-2026:24762
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-cryptography-0:46.0.7-1.el9apFixed 2026-06-09RHSA-2026:24762
Red Hat AI Inference Server 3.3rhaiis/vllm-rocm-rhel9:1782353093Fixed 2026-06-25RHSA-2026:30088
Red Hat AI Inference Server 3.3rhaiis/vllm-cuda-rhel9:1782352847Fixed 2026-06-25RHSA-2026:30089
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/controller-rhel9:1779762270Fixed 2026-06-09RHSA-2026:24866
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/eda-controller-rhel9:1779759716Fixed 2026-06-09RHSA-2026:24866
Lightspeed Coreopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Lightspeed Coreredhat-user-workloads/lightspeed-stackAffected
Migration Toolkit for Applications 8redhat-user-workloads/art-imagesWill not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Not affected
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-cpu-ubi9-3-3Will not fix
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-cuda-ubi9-3-3Affected
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-rocm-ubi9-3-3Affected
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-tpu-ubi9-3-3Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8-operatorNot affected
88 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39892.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON