# CVE-2023-36632

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-06-25 · Modified: 2024-11-27
- 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
- Record: https://cvemate.com/vulnerability/CVE-2023-36632 · JSON: https://cvemate.com/vulnerability/CVE-2023-36632/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.584%, percentile 76.424%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard conda (Chainguard): All versions (No fix recorded)
- chainguard python-3.10 (Chainguard): All versions (No fix recorded)
- chainguard python-3.11 (Chainguard): All versions (No fix recorded)
- chainguard python-3.12 (Chainguard): All versions (No fix recorded)
- chainguard python-3.9 (Chainguard): All versions (No fix recorded)
- wolfi conda (Wolfi): All versions (No fix recorded)
- wolfi python-3.10 (Wolfi): All versions (No fix recorded)
- wolfi python-3.11 (Wolfi): All versions (No fix recorded)
- wolfi python-3.12 (Wolfi): All versions (No fix recorded)
- python python: ≤ 3.11.4

## References

- <https://docs.python.org/3/library/email.utils.html>
- <https://docs.python.org/3/library/email.html>
- <https://github.com/Daybreak2019/PoC_python3.9_Vul/blob/main/RecursionError-email.utils.parseaddr.py>
- <https://github.com/python/cpython/issues/103800>

---

Data as of 2026-12-05T10:01:18.052Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
