Skip to main content

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

MEDIUM

Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs

Published April 8, 2026Updated November 4, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.80%). Schedule for your next planned update.

Does your project use an affected cryptography version?

Paste your requirements.txt to check it for CVE-2026-39892 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. For example:

h = Hash(SHA256())
b.update(buf[::-1])

would read past the end of the buffer on Python >3.11

Advisory Timeline

  • First published April 8, 2026 (233 days ago).
  • Last revised November 4, 2026 — 209 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
cryptography PyPI · Affected: 45.0.0, 45.0.1, 45.0.2, 45.0.3 (+11 more)46.0.7

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

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

References

Frequently Asked Questions

What is CVE-2026-39892?
Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-39892?
CVE-2026-39892 affects cryptography. It has a 0.8% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.80%
EPSS percentile: 53.5

This is an above-median EPSS score — 53.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

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

Related CVEs

  • CVE-2026-69249
    HIGH

    python-cryptography: Duplicate self-signed intermediates can cause exponential path-building

  • CVE-2026-69248
    HIGH

    python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

  • GHSA-537c-gmf6-5ccf
    HIGH

    Vulnerable OpenSSL included in cryptography wheels

  • CVE-2026-69247
    HIGH

    cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing

  • CVE-2026-69249
    HIGH

    python-cryptography: Duplicate self-signed intermediates can cause exponential path-building

  • CVE-2023-0286
    HIGH

    Vulnerable OpenSSL included in cryptography wheels

  • CVE-2026-69247
    MEDIUM

    cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing

  • CVE-2026-69248
    MEDIUM

    python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt