Loading...
Skip to main content

CVE-2026-39892 — Vulnerability in cryptography — CVE Details

CRITICAL

Published April 8, 2026Updated May 20, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published April 8, 2026 (187 days ago).
  • Last revised May 20, 2026 — 42 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update cryptography to 46.0.7 or later
pip install "cryptography>=46.0.7"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
cryptography
pypi
45.0.0, 45.0.1, 45.0.2, 45.0.3 (+11 more)46.0.7

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-39892?
This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-39892?
CVE-2026-39892 affects cryptography. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-39892 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

PYSEC-2026-36
GHSA-p423-j2cm-9vmq

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies