{"id":"CVE-2026-55620","published":"2026-08-25T18:26:54Z","modified":"2026-08-26T15:34:18Z","title":"eml_parser: DoS via deeply nested parens in Received headers","vendor":"GOVCERT-LU","product":"eml_parser","tier":"tail","description":{"text":"eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to 3.0.2, eml_parser.routing.noparenthesis in eml_parser/routing.py removes parenthesized CFWS comments from Received: headers with a regex-based fix-point loop whose running time is quadratic in the nesting depth. A single Received: header with 5,000 nested parentheses causes approximately 1.3 seconds of CPU saturation per parsed message, and doubling the nesting depth approximately quadruples the running time. An attacker can submit relatively small EML files that consume multiple seconds of processing time, causing worker latency, queue backpressure, and possible service-level outages in synchronous gateways, sandboxes, and real-time triage pipelines. This issue is fixed in version 3.0.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.44612,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-1124","name":"Excessively Deep Nesting"}],"references":[{"url":"https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-g7gc-gmgp-wgqg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/pull/90","tags":["x_refsource_MISC"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/commit/746a69f86443eb0b6a47f77db3cfe727c21f92b3","tags":["x_refsource_MISC"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"govcert-lu","affectedVersions":[{"vendor":"GOVCERT-LU","product":"eml_parser","versions":["< 3.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-26T15:34:07.895741Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"eml_parser","vulnerableRanges":["<3.0.2"],"patched":["3.0.2"],"from":["GHSA-g7gc-gmgp-wgqg","PYSEC-2026-3832"],"provenance":"source"}],"summary":{"text":"The eml_parser Python module has a flaw in its routing.noparenthesis function (eml_parser/routing.py), which strips parenthesized comments from Received: headers using a regex fix-point loop whose running time grows quadratically with nesting depth. An attacker who can submit an EML file for parsing over the network, with no authentication or user interaction required and using the default configuration, can craft a single Received: header with deeply nested parentheses to exhaust CPU and cause denial of service, with the issue fixed in version 3.0.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:51Z"},"euvd":{"id":"EUVD-2026-65704","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44844","published":"2026-05-26","fixed":"3.0.1","kev":false,"link":{"from":"CVE-2026-44844","to":"CVE-2026-55620","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:eml_parser","fromFixed":"3.0.1","toFixed":"3.0.2","daysApart":91}]}},{"cve":"CVE-2026-55618","published":"2026-08-25","fixed":"3.0.2","kev":false},{"cve":"CVE-2026-55619","published":"2026-08-25","fixed":"3.0.2","kev":false},{"cve":"CVE-2026-55620","published":"2026-08-25","fixed":"3.0.2","kev":false}],"package":"PyPI:eml_parser"}}