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, which provides cryptographic primitives to Python developers, contains a buffer overflow vulnerability (CWE-119) in versions >=45.0.0 and <46.0.7. This vulnerability arises when APIs accepting Python buffers, for example Hash.update(), receive a non-contiguous buffer, potentially leading to memory corruption. The flaw is addressed in version 46.0.7. Red Hat has issued multiple advisories and errata referencing this CVE, including fixes in their Ansible Automation Platform and python3.12-cryptography packages.
Potential Impact
Successful exploitation of this vulnerability could lead to a buffer overflow condition, which may cause application crashes or potentially allow an attacker to execute arbitrary code. The CVSS score of 6.9 reflects a medium severity impact with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
A fix is available in pyca cryptography version 46.0.7. Users and administrators should upgrade affected versions (>=45.0.0 <46.0.7) to 46.0.7 or later to remediate this vulnerability. Red Hat has released security advisories and errata with updated packages containing the fix. Applying these official updates is the recommended remediation.
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
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, which provides cryptographic primitives to Python developers, contains a buffer overflow vulnerability (CWE-119) in versions >=45.0.0 and <46.0.7. This vulnerability arises when APIs accepting Python buffers, for example Hash.update(), receive a non-contiguous buffer, potentially leading to memory corruption. The flaw is addressed in version 46.0.7. Red Hat has issued multiple advisories and errata referencing this CVE, including fixes in their Ansible Automation Platform and python3.12-cryptography packages.
Potential Impact
Successful exploitation of this vulnerability could lead to a buffer overflow condition, which may cause application crashes or potentially allow an attacker to execute arbitrary code. The CVSS score of 6.9 reflects a medium severity impact with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
A fix is available in pyca cryptography version 46.0.7. Users and administrators should upgrade affected versions (>=45.0.0 <46.0.7) to 46.0.7 or later to remediate this vulnerability. Red Hat has released security advisories and errata with updated packages containing the fix. Applying these official updates is the recommended remediation.
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
- Remediation Level
- null
- 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: 07/30/2026, 21:39:23 UTC
Last updated: 07/31/2026, 21:26:43 UTC
Views: 265
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.