CVE-2026-39892: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in pyca cryptography
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.
AI Analysis
Technical Summary
The pyca cryptography package versions >=45.0.0 and <46.0.7 contain a buffer overflow vulnerability (CWE-119, CWE-131) triggered by passing non-contiguous buffers to APIs that accept Python buffers (e.g., Hash.update()). This improper restriction of operations within memory buffer bounds can lead to out-of-bounds reads or writes, potentially causing crashes or denial of service. The issue is resolved in version 46.0.7. Red Hat advisories confirm the vulnerability and note that mitigation options are limited, but the impact is constrained by service process isolation. The CVSS v3.1 base score is 7.3 (Red Hat) and 9.8 (NVD), indicating a medium to high severity depending on the environment.
Potential Impact
Exploitation of this vulnerability can cause a denial of service via application crash due to buffer overflow. There is potential for arbitrary code execution or memory disclosure if the buffer overflow is leveraged further, but the primary confirmed impact is denial of service. In Red Hat environments, the impact is limited to the compromised service account due to process isolation. No active exploits have been reported in the wild.
Mitigation Recommendations
A fixed version 46.0.7 of the pyca cryptography package is available and should be applied to remediate this vulnerability. Red Hat has released security advisories and updated packages for affected products including Red Hat Ansible Automation Platform 2.5. No effective mitigations other than upgrading are currently available or meet Red Hat's criteria. Users should upgrade to version 46.0.7 or later to resolve this issue.
CVE-2026-39892: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in pyca cryptography
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 v4.0
Score 6.9medium
Affected software
pyca
cryptography
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pyca cryptography package versions >=45.0.0 and <46.0.7 contain a buffer overflow vulnerability (CWE-119, CWE-131) triggered by passing non-contiguous buffers to APIs that accept Python buffers (e.g., Hash.update()). This improper restriction of operations within memory buffer bounds can lead to out-of-bounds reads or writes, potentially causing crashes or denial of service. The issue is resolved in version 46.0.7. Red Hat advisories confirm the vulnerability and note that mitigation options are limited, but the impact is constrained by service process isolation. The CVSS v3.1 base score is 7.3 (Red Hat) and 9.8 (NVD), indicating a medium to high severity depending on the environment.
Potential Impact
Exploitation of this vulnerability can cause a denial of service via application crash due to buffer overflow. There is potential for arbitrary code execution or memory disclosure if the buffer overflow is leveraged further, but the primary confirmed impact is denial of service. In Red Hat environments, the impact is limited to the compromised service account due to process isolation. No active exploits have been reported in the wild.
Mitigation Recommendations
A fixed version 46.0.7 of the pyca cryptography package is available and should be applied to remediate this vulnerability. Red Hat has released security advisories and updated packages for affected products including Red Hat Ansible Automation Platform 2.5. No effective mitigations other than upgrading are currently available or meet Red Hat's criteria. Users should upgrade to version 46.0.7 or later to resolve this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T20:32:03.011Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-39892","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24761","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24762","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:20338","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7295","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22629","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21017","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24853","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22465","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22840","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23361","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24483","vendor":"Red Hat"}]
Threat ID: 69d6c32c1cc7ad14dab1ab4d
Added to database: 04/08/2026, 21:05:48 UTC
Last enriched: 08/14/2026, 14:42:44 UTC
Last updated: 09/12/2026, 22:13:36 UTC
Views: 294
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.