cve.bz

CVE-2025-32442 fastify fastify

7.5 highExploit referenceEPSS 0.7%Fix available

High (7.5) in fastify fastify. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in fastify 4.29.1, 5.3.2, 5.8.5.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1287 Improper Validation of Specified Type of Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-32442 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-32442?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-32442?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-32442 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fastify:fastifyfrom 5.0.0 before 5.3.2
fastify:fastify4.29.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-247c-9743-5963npmfastify>=5.3.2 <5.8.55.8.5
GHSA-mg2h-6x62-wpwcnpmfastify>=5.0.0 <5.3.25.3.2
GHSA-mg2h-6x62-wpwcnpmfastify>=4.29.0 <4.29.14.29.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

None of the Red Hat Products and Services are impacted by this vulnerability.

Red Hat's mitigation

To mitigate this vulnerability, do not specify multiple content types in the schema.

ProductPackageStateAdvisory
OpenShift Serverlessopenshift-serverless-1/kn-plugin-func-func-util-rhel8Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-32442.

References

Check your stackJSON