Description
Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ua-parser-js | 0.7.30 – < 0.7.33, 0.8.1 – < 1.0.33 | 0.7.33 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-ua-parser-js | 0.8.1+ds+~0.7.36-3 | — |
| Debian 13 | node-ua-parser-js | 0.8.1+ds+~0.7.36-3 | — |
| Debian 12 | node-ua-parser-js | 0.8.1+ds+~0.7.36-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-ua-parser-js | No fix yet | — |
| Ubuntu 26.04 LTS | node-ua-parser-js | No fix yet | — |
| Ubuntu 25.10 | node-ua-parser-js | No fix yet | — |
| Ubuntu 24.04 LTS | node-ua-parser-js | No fix yet | — |
| Ubuntu 22.04 LTS | node-ua-parser-js | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-ua-parser-js | No fix yet | — |
| Ubuntu 18.04 LTS | node-ua-parser-js | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
Sleuth-in-town/CVE-2022-25927-test ★ 0 · Mar 28, 2026
-
masahiro331/cve-2022-25927 ★ 0 · Feb 1, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ua-parser-js | >= 0.7.30, < 0.7.33 | 0.7.33 | GHSA-fhg7-m89q-25r3 |
| npm | ua-parser-js | >= 0.8.0, < 1.0.33 | 1.0.33 | GHSA-fhg7-m89q-25r3 |
Advisories 5
- WID-SEC-2026-1229 Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 2, 2026
- WID-SEC-2026-0770 Atlassian Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- WID-SEC-2026-0438 Atlassian Bamboo und Confluence (Data Center und Server): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2023-0809 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 19, 2024