{"id":"PSF-2023-4","details":"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.","aliases":["BIT-libpython-2023-36632","BIT-python-2023-36632","BIT-python-min-2023-36632","CVE-2023-36632"],"modified":"2025-08-11T15:13:42.330294Z","published":"2023-06-25T00:00:00Z","database_specific":{"cwe_ids":["CWE-674"]},"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2023-4.json"}}],"schema_version":"1.7.3"}