7.5

CVE-2025-32442: Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

Modified
AliasesGHSA-247c-9743-5963CVE-2026-33806GHSA-mg2h-6x62-wpwc
Published 18-04-2025Last modified 22-08-2025

Vulnerability summary

CVE-2025-32442 is a high (CVSS 7.5) vulnerability in fastify. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 56.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.74%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 18-04-2025
    PublishedVulnerability first disclosed.
  2. 22-08-2025
    Last modifiedVulnerability information updated.

Description

Impact: Fastify applications using schema.body.content for per-content-type body validation can have validation bypassed entirely by prepending a space to the Content-Type header. The body is still parsed correctly but schema validation is skipped. This is a regression introduced in fastify >= 5.3.2 by the fix for CVE-2025-32442 Patches: Upgrade to fastify v5.8.5 or later. Workarounds: None. Upgrade to the patched version.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.74%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.73% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Fastify

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Fastify1 product
  • fastify= 4.29.0 | ≥ 5.0.0, < 5.3.2 | 4.29.0 | ≥ 5.3.2, < 5.8.5
Npm1 product
  • fastify≥ 5.0.0, < 5.3.2 | ≥ 4.29.0, < 4.29.1 | ≥ 5.3.2, < 5.8.5

2 vendors · 2 products

References

13 links
Show all 13 references