Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 52%

CVE-2026-39892: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer in pyca cryptography

0
Medium
VulnerabilityCVE-2026-39892cvecve-2026-39892cwe-119
Published: 04/08/2026 (04/08/2026, 20:49:41 UTC)
Source: CVE Database V5
Vendor/Project: pyca
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

cryptography
pkg:pypi/cryptography
Affected versions
>=45.0.0 <46.0.7

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

AILast updated: 07/30/2026, 21:39:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses