# CVE-2022-25927

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-25 · Modified: 2025-04-01
- Aliases: UBUNTU-CVE-2022-25927, DEBIAN-CVE-2022-25927, GHSA-fhg7-m89q-25r3
- Record: https://cvemate.com/vulnerability/CVE-2022-25927 · JSON: https://cvemate.com/vulnerability/CVE-2022-25927/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.843%, percentile 79.789%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian node-ua-parser-js (Debian): \< 0.8.1+ds+~0.7.36-3
- ubuntu node-ua-parser-js (Ubuntu): All versions (No fix recorded)
- Npm ua-parser-js (Npm): ≥ 0.7.30, \< 0.7.33 \| ≥ 0.8.0, \< 1.0.33
- ua-parser-js\_project ua-parser-js: ≥ 0.7.30, \< 0.7.33 \| ≥ 0.8.1, \< 1.0.33

## References

- <https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450>
- <https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411>
- <https://ubuntu.com/security/CVE-2022-25927>
- <https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3>
- <https://www.cve.org/CVERecord?id=CVE-2022-25927>
- <https://security-tracker.debian.org/tracker/CVE-2022-25927>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25927>
- <https://github.com/faisalman/ua-parser-js>

---

Data as of 2026-12-05T18:54:41.238Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
