Skip to main content
Public proof of conceptFix available

CVE-2023-36632

A public proof of concept exists; no exploitation attested.

  • Published2023-06-25
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-06-2518:15CVE publishedNVD

Versions per branch

NVD · OSV
Python
BranchAffectedFixed in
3.11≤ 3.11.4no fix published
python
BranchAffectedFixed in
3.11< 3.11.53.11.5
libpython
BranchAffectedFixed in
3.11< 3.11.53.11.5

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • condaWolfiall versions · fixed in 0and 3 other packages
  • condaChainguardall versions · fixed in 0and 4 other packages
  • pythonEchoall versions · no fixed version listed
  • python-3.10MinimOSall versions · fixed in 0and 4 other packages
  • python-pyAzure Linux:3all versions · no fixed version listed

Vendor advisories

  • CVE-2023-36632 Red Hat Product Security

    python: RecursionError: maximum recursion depth exceeded while calling a Python object

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-06-25
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-gv66-v8c8-v69c

Frequently asked questions

What is CVE-2023-36632?

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.

Is CVE-2023-36632 actively exploited?

A proof-of-concept exploit exists for CVE-2023-36632, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-36632?

CVE-2023-36632 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Python? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record