All reports
High

ReDoS via long UserAgent header in ua-parser

Affected versions

Affected versions
<= 0.3.5
Fixed version
Not reported

Exploitation

CVE-2017-16086

Probability of exploitation in the next 30 days: 8.94%

FIRST EPSS · 2026-11-20

Description

Affected versions of ua-parser are vulnerable to regular expression denial of service when given a specially crafted User-Agent header.

Recommendation

No patch is currently available for this vulnerability.

The best mitigation is currently to avoid using this package, using a different, functionally equivalent package such as useragent.

Links