{"schemaVersion":3,"id":"CVE-2023-36632","aliases":["CGA-6fqh-p52x-5jg7","CGA-7cr5-r35g-jrjx","CGA-8qx7-fj7c-h322","CGA-9h54-jjvm-j4w6","CGA-m5qc-984m-3hp6","CGA-pjp3-wxxr-f29c","CGA-q846-5642-x88r","CGA-rpqc-f7pg-9jfv","CGA-h5pr-4397-mqwq","CGA-pf98-7gx7-5wp3"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-06-25T00:00:00.000Z","modified":"2024-11-27T19:46:48.884Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01584,"percentile":0.75232,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01584},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01584,"percentile":0.75232}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01584,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01584,"percentile":0.75232}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PYTHON_CPYTHON","name":"Cpython","source":"github","url":"https://github.com/python/cpython/pull/16373","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"chainguard","product":"conda","name":"conda","label":"conda","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/conda","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.10","name":"python-3.10","label":"python-3.10","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.10","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.11","name":"python-3.11","label":"python-3.11","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.11","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.12","name":"python-3.12","label":"python-3.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.9","name":"python-3.9","label":"python-3.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"conda","name":"conda","label":"conda","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/conda","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.10","name":"python-3.10","label":"python-3.10","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.10","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.11","name":"python-3.11","label":"python-3.11","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.11","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.12","name":"python-3.12","label":"python-3.12","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"python","product":"python","name":"python","label":"python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.11.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.11.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"python","label":"Python","category":"lang"}},"hubHref":"/vendor/python/python"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.python.org/3/library/email.utils.html","label":"docs.python.org/3/library/email.utils.html","hostname":"docs.python.org","tags":["Product"]},{"url":"https://docs.python.org/3/library/email.html","label":"docs.python.org/3/library/email.html","hostname":"docs.python.org","tags":["Product"]},{"url":"https://github.com/Daybreak2019/PoC_python3.9_Vul/blob/main/RecursionError-email.utils.parseaddr.py","label":"github.com/Daybreak2019/PoC_python3.9_Vul/blob/main/RecursionError-email.utils.parseaddr.py","hostname":"github.com","tags":["Product"]},{"url":"https://github.com/python/cpython/issues/103800","label":"github.com/python/cpython/issues/103800","hostname":"github.com","tags":["Exploit","Issue Tracking"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-4MHQ-JV43-H4MG","CGA-6XPF-GWQ5-CP42","CGA-6XQM-W4GG-2PGG","CGA-856P-F64F-377V","CGA-9RQ2-W4V8-HHM2","CGA-MQH9-M9RM-23Q7","CGA-Q4QF-PG6X-433P","CGA-RJJR-CR57-427G"]},"timeline":[{"kind":"published","date":"2023-06-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-27T19:46:48.884Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:53:11.015Z","stale":false,"partial":false}}