Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-25927

published medium CVSS 3.1 · 5.3

ua-parser-js: ReDoS vulnerability via the trim() function

Title from Red Hat VEX

Published
25 Jan 2023, 05:00:00 UTC
Updated
01 Apr 2025, 18:28:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — ua-parser-js0.7.30 to < 0.7.33 · 0.8.1 to < 1.0.33 Affected Not stated snyk

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.

en · snyk · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
snyk · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a ua-parser-js 0.7.30 to < 0.7.33 (affected · semver)0.8.1 to < 1.0.33 (affected · semver) snyk · cna

Weaknesses

2
  • CWE-1333 Regular Expression Denial of Service (ReDoS) (snyk · cna)
  • CWE-1333 CWE-1333 Inefficient Regular Expression Complexity (CISA-ADP · adp)

References

2

Provider assertions

3

snyk · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ff6f7e945b7e78d31f7653da7f30c509a13569b97a709770bc2de2f9a7df2145
Ingested
23 Sep 2026, 07:59:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected