CVE-2023-36632: python Uncontrolled Recursion
Vulnerability summary
CVE-2023-36632 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in python. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 8Timeline
- 25-06-2023PublishedVulnerability first disclosed.
- 27-11-2024Last modifiedVulnerability information updated.
Description
The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling a Python object" via a crafted argument. This argument is plausibly an untrusted value from an application's input data that was supposed to contain a name and an e-mail address. NOTE: email.utils.parseaddr is categorized as a Legacy API in the documentation of the Python email package. Applications should instead use the email.parser.BytesParser or email.parser.Parser class. NOTE: the vendor's perspective is that this is neither a vulnerability nor a bug. The email package is intended to have size limits and to throw an exception when limits are exceeded; they were exceeded by the example demonstration code.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.58%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.58% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCpython
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard5 products
- condaAll versions (No fix recorded)
- python-3.10All versions (No fix recorded)
- python-3.11All versions (No fix recorded)
- python-3.12All versions (No fix recorded)
- python-3.9All versions (No fix recorded)
Wolfi4 products
- condaAll versions (No fix recorded)
- python-3.10All versions (No fix recorded)
- python-3.11All versions (No fix recorded)
- python-3.12All versions (No fix recorded)
Python1 product
- python≤ 3.11.4
3 vendors · 10 products