# CVE-2026-55620: eml_parser denial of service via nested parentheses in Received headers

Source: https://junglewise.ai/threats/cve-2026-55620-eml-parser-denial-of-service-via-nested-parentheses-in-received  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-25. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-55620 · Severity: high · CVSS 7.5 · Published 2026-08-25

eml_parser is a Python library that parses email files in EML format. The library uses an inefficient algorithm to remove comments from email Received headers, which causes severe CPU exhaustion when processing messages with deeply nested parentheses. An attacker can craft small EML files that consume multiple seconds of processing time per message, starving worker processes and causing service outages in email gateways, sandboxes, and real-time email processing systems.

Technologies: [GOVCERT-LU Eml Parser](https://junglewise.ai/threats/technologies/eml-parser), [eml-parser (PyPI)](https://junglewise.ai/threats/technologies/pypi-eml-parser). Vendors: [GOVCERT-LU](https://junglewise.ai/threats/vendors/govcert-lu), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-55620 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-55620 being exploited in the wild.

**How severe is CVE-2026-55620?** High severity, with a CVSS score of 7.5, published 25 August 2026.

**Which products and versions are affected?** GOVCERT-LU Eml Parser < 3.0.2; eml-parser (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.2.

**Is there a fix for CVE-2026-55620?** Yes. eml-parser (PyPI): upgrade to 3.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-55620 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-55620?** Check whether you run GOVCERT-LU Eml Parser or eml-parser (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- eml-parser (PyPI): upgrade to 3.0.2 or later

  ```sh
  pip install "eml-parser>=3.0.2"
  ```


## Technical details

The vulnerability exists in eml_parser's handling of Received headers, which are processed by a regex-based fix-point loop designed to strip CFWS (comments, folding white space) comments enclosed in parentheses. The algorithm has O(n²) time complexity relative to nesting depth due to repeated regex matching on increasingly longer strings. Attack preconditions are minimal: an attacker simply needs to supply a crafted EML file to a system processing email messages—no authentication or special privileges required. The attack is network-reachable for email gateways and services accepting external messages. An attacker can achieve complete denial of service by flooding a queue with maliciously crafted messages, causing synchronous pipelines to stall and reject legitimate traffic. Version 3.0.2 and later replace the regex approach with a linear-time algorithm, eliminating the quadratic behavior.

## Affected products

- GOVCERT-LU eml_parser < 3.0.2

## Identifiers

- CVE-2026-55620
- GHSA-g7gc-gmgp-wgqg
- PYSEC-2026-3832

## Timeline

- 2026-06-15: disclosed
- 2026-08-25: advisory
- 2026: patched: Version 3.0.2 released with linear-time algorithm

## References

- [https://api.github.com/users/Sebasteuo](https://api.github.com/users/Sebasteuo)
- [https://github.com/Sebasteuo](https://github.com/Sebasteuo)
- [https://api.github.com/users/Sebasteuo/gists%7B/gist_id%7D](https://api.github.com/users/Sebasteuo/gists%7B/gist_id%7D)
- [https://api.github.com/users/Sebasteuo/repos](https://api.github.com/users/Sebasteuo/repos)
- [https://avatars.githubusercontent.com/u/37353257?v=4](https://avatars.githubusercontent.com/u/37353257?v=4)
- [https://api.github.com/users/Sebasteuo/events%7B/privacy%7D](https://api.github.com/users/Sebasteuo/events%7B/privacy%7D)

## Related threats

- [eml_parser denial of service via deeply nested email header comments](https://junglewise.ai/threats/cve-2026-55619-eml-parser-denial-of-service-via-deeply-nested-email-header)
- [GOVCERT-LU eml_parser URL extraction bypass via HTML entities](https://junglewise.ai/threats/cve-2026-55618-govcert-lu-eml-parser-url-extraction-bypass-via-html-entities)
- [GOVCERT-LU eml_parser uncontrolled recursion in get_raw_body_text](https://junglewise.ai/threats/cve-2026-44844-govcert-lu-eml-parser-uncontrolled-recursion-in-get-raw-body-text)
- [eml_parser path traversal in example script](https://junglewise.ai/threats/cve-2026-29780-eml-parser-path-traversal-in-example-script)
