BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-36242 in Cryptography.Io Cryptography and 2 more products

Critical 9.1

In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS6.8%
EPSS percentile95th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Cryptography.Io Cryptography < 3.3.2
Fedoraproject Fedora 33
Oracle Communications Cloud Native Core Network Function Cloud Native Environment 1.10.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-36242
BreachSpider IDBS-2021-GLOBAL-150634-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published2021-02-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the cryptography package before version 3.3.2 for Python allows for integer overflow and buffer overflow through certain sequences of update calls to symmetrically encrypt multi-GB values, specifically demonstrated using the Fernet class.

An attacker can exploit this vulnerability by crafting specific sequences of update calls when using the Fernet class to encrypt large amounts of data, leading to an integer overflow and buffer overflow. This could potentially allow for arbitrary code execution or denial of service.

Questions

What is CVE-2020-36242?

A vulnerability in the cryptography package before version 3.3.2 for Python allows for integer overflow and buffer overflow through certain sequences of update calls to symmetrically encrypt multi-GB values, specifically demonstrated using the Fernet class.

What is the CVSS score for CVE-2020-36242?

CVE-2020-36242 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 6.8%.

Is CVE-2020-36242 actively exploited?

No confirmed active exploitation of CVE-2020-36242 as of 2026-09-25.

How do I remediate CVE-2020-36242?

Priority: IMMEDIATE.

What systems are affected by CVE-2020-36242?

CVE-2020-36242 affects Cryptography.Io Cryptography; Fedoraproject Fedora; Oracle Communications Cloud Native Core Network Function Cloud Native Environment.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Cryptography.Io","product":"Cryptography","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.