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-2025-25200

published critical CVSS 4.0 · 9.2

Koa has Inefficient Regular Expression Complexity

Published
12 Feb 2025, 17:59:04 UTC
Updated
12 Feb 2025, 19:29:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
koajs — koa< 0.21.2 · >= 1.0.0, < 1.7.1 · >= 2.0.0-alpha.1, < 2.15.4 · >= 3.0.0-alpha.0, < < 3.0.0-alpha.3 Affected Not stated GitHub_M

Description

Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.

en · GitHub_M · 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
4.0
Base score
9.2 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
koajs koa < 0.21.2 (affected)>= 1.0.0, < 1.7.1 (affected)>= 2.0.0-alpha.1, < 2.15.4 (affected)>= 3.0.0-alpha.0, < < 3.0.0-alpha.3 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-1333 CWE-1333: Inefficient Regular Expression Complexity (GitHub_M · cna)

References

7

Provider assertions

2

GitHub_M · cna

Koa has Inefficient Regular Expression Complexity

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
e447bb202478c6cd0e9e7f32a6dea42cee2db12cdf534d6e06272a2967280da3
Ingested
23 Sep 2026, 08:41:57 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