Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. eml-parser
  4. ›
  5. CVE-2026-55620

CVE-2026-55620: eml_parser vulnerable to DoS via deeply nested parens in Received headers

August 25, 2026

eml_parser strips parenthesised CFWS comments from Received: headers using a regex-based fix-point loop. The loop has quadratic time complexity in the number of nested parens. A single Received: header containing 5,000 nested parens causes ~1.3 seconds of CPU saturation per parsed message; runtime quadruples per doubling of nesting depth.

References

  • github.com/GOVCERT-LU/eml_parser/commit/746a69f86443eb0b6a47f77db3cfe727c21f92b3
  • github.com/GOVCERT-LU/eml_parser/pull/90
  • github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2
  • github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-g7gc-gmgp-wgqg
  • github.com/advisories/GHSA-g7gc-gmgp-wgqg
  • nvd.nist.gov/vuln/detail/CVE-2026-55620

Code Behaviors & Features

Detect and mitigate CVE-2026-55620 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.2

Fixed versions

  • 3.0.2

Solution

Upgrade to version 3.0.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1124: Excessively Deep Nesting
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/eml-parser/CVE-2026-55620.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:58 +0000.