CVE Catalog

GHSA-v53p-9fqp-m79j

High
Published: —Translated: NVD NIST

Summary

When addressparser finds no address by its strict reading, it falls back to pulling one out of the free text with /\s*\b[^@\s]+@[^\s]+\b\s*/. That pattern backtracks quadratically, causing high resource consumption when processing a single header.

Risk Assessment

An attacker can send a specially crafted header, causing significant resource consumption and potentially a denial of service.

Recommendation

Update the addressparser library to a patched version or limit the size of processed headers.

Related vulnerabilities

Original NVD description (English source)

### Summary When `addressparser` finds no address by its strict reading, it falls back to pulling one out of the free text with `/\s*\b[^@\s]+@[^\s]+\b\s*/`. That pattern backtracks quadratically: `[^@\s]+` is retried from every offset and rescans the run to the next `@` each time. A single header

Vulnerability data from NVD (NIST) · CISA KEV · EPSS