CVE-2023-36632

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

Published Jun 25, 2023 CVSS 3.1 · 7.5 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics threat_severity

Moderate

threat_severity

None

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 27, 2024, 7:46 PM
Reserved
Jun 25, 2023, 12:00 AM
Status
Modified
Published
Jun 25, 2023, 6:15 PM
Modified
Jun 17, 2026, 6:06 AM
Severity
Public date
Jun 25, 2023, 12:00 AM