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 and recipes for Python developers, contained a buffer overflow vulnerability (CWE-119) in versions 45.0.0 through before 46.0.7. This flaw arises when APIs accepting Python buffers process non-contiguous buffers, potentially leading to improper memory operations. The vulnerability is addressed in version 46.0.7.
Potential Impact
Successful exploitation could lead to a buffer overflow, which may cause application crashes or potentially allow an attacker to execute arbitrary code or corrupt memory. However, the CVSS vector indicates no privileges, user interaction, or scope change is required, and the attack complexity is low. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade the pyca cryptography package to version 46.0.7 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the version fix information.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pyca cryptography package, which provides cryptographic primitives and recipes for Python developers, contained a buffer overflow vulnerability (CWE-119) in versions 45.0.0 through before 46.0.7. This flaw arises when APIs accepting Python buffers process non-contiguous buffers, potentially leading to improper memory operations. The vulnerability is addressed in version 46.0.7.
Potential Impact
Successful exploitation could lead to a buffer overflow, which may cause application crashes or potentially allow an attacker to execute arbitrary code or corrupt memory. However, the CVSS vector indicates no privileges, user interaction, or scope change is required, and the attack complexity is low. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade the pyca cryptography package to version 46.0.7 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the version fix information.
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
Threat ID: 69d6c32c1cc7ad14dab1ab4d
Added to database: 4/8/2026, 9:05:48 PM
Last enriched: 4/8/2026, 9:21:25 PM
Last updated: 4/8/2026, 11:22:35 PM
Views: 4
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.
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.