CVE-2026-39892: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in pyca cryptography
A buffer overflow vulnerability exists in the pyca cryptography package versions from 45. 0. 0 up to but not including 46. 0. 7. This occurs when a non-contiguous buffer is passed to certain APIs that accept Python buffers, such as Hash. update(). The issue is fixed in version 46. 0. 7.
AI Analysis
Technical Summary
The pyca cryptography package, which provides cryptographic primitives for Python developers, contains a buffer overflow vulnerability (CWE-119) in versions 45.0.0 through before 46.0.7. Specifically, if a non-contiguous buffer is passed to APIs accepting Python buffers (e.g., Hash.update()), this improper restriction of operations within memory buffer bounds can lead to buffer overflow conditions. This vulnerability is addressed and fixed in version 46.0.7.
Potential Impact
Successful exploitation could lead to a buffer overflow, potentially causing memory corruption or crashes in applications using affected versions of the cryptography package. The CVSS score of 6.9 reflects a medium severity impact with network attack vector, no privileges required, and no user interaction needed. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade to pyca cryptography version 46.0.7 or later, where this vulnerability has been 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
A buffer overflow vulnerability exists in the pyca cryptography package versions from 45. 0. 0 up to but not including 46. 0. 7. This occurs when a non-contiguous buffer is passed to certain APIs that accept Python buffers, such as Hash. update(). The issue is fixed in version 46. 0. 7.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pyca cryptography package, which provides cryptographic primitives for Python developers, contains a buffer overflow vulnerability (CWE-119) in versions 45.0.0 through before 46.0.7. Specifically, if a non-contiguous buffer is passed to APIs accepting Python buffers (e.g., Hash.update()), this improper restriction of operations within memory buffer bounds can lead to buffer overflow conditions. This vulnerability is addressed and fixed in version 46.0.7.
Potential Impact
Successful exploitation could lead to a buffer overflow, potentially causing memory corruption or crashes in applications using affected versions of the cryptography package. The CVSS score of 6.9 reflects a medium severity impact with network attack vector, no privileges required, and no user interaction needed. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade to pyca cryptography version 46.0.7 or later, where this vulnerability has been 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/16/2026, 12:12:29 PM
Last updated: 5/23/2026, 4:23:53 PM
Views: 193
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.