7.5

CVE-2023-36632: python Uncontrolled Recursion

CVSS: 7.5v3.1HighModified
AliasesCGA-6fqh-p52x-5jg7CGA-7cr5-r35g-jrjxCGA-8qx7-fj7c-h322
Published 25-06-2023Last modified 27-11-2024

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.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 8

Timeline

  1. 25-06-2023
    PublishedVulnerability first disclosed.
  2. 27-11-2024
    Last 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 version

EPSS 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

20-09-202620-10-2026
EPSS score
1.58%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cpython

    Maturity: poc

Weaknesses

CWE · root cause

Affected 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

3 vendors · 10 products

References

4 links