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

Exp

Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0 as well as version 4.29.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _slightly altered_ content type such as with different casing or altered whitespacing before `;`. This was patched in v5.3.1, but the initial patch did not cover all problems. This has been fully patched in v5.3.2 and v4.29.1. A workaround involves not specifying individual content types in the schema.

Published: 2025-04-18 Last update: 2025-08-22 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-32442 is rated High Exploit Risk (61.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.64%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-32442

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-32442

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.09% 0.64% +0.55%
2 2026-05-27 0.49% 0.09% -0.40%
3 2026-04-22 0.49%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-32442

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-32442

GitHub Security Advisory for CVE-2025-32442

GHSA-mg2h-6x62-wpwc · Severity: high · Ecosystem: npm — Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

OS Trackers for CVE-2025-32442

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2025-32442

Affected software / configurations for CVE-2025-32442

Vendor Product Version Raw CPE
fastify fastify >= 5.0.0, < 5.3.2 cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
fastify fastify 4.29.0 cpe:2.3:a:fastify:fastify:4.29.0:*:*:*:*:node.js:*:*

References for CVE-2025-32442

cvelogic Threat Intelligence