@fastify/multipart vulnerable to DoS due to unlimited number of parts
@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-25576
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:37 UTC · Revision 1
Source evidence
@fastify/multipart vulnerable to DoS due to unlimited number of parts
core-osv · Original sourcePublished 14 Feb 2023, 15:04 UTC
@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds.
osv:CVE-2023-25576
Complete source record
{
"id": "dcd3d2d996faa4595f9c8589eda9557a0a3a424aff3e133ecd9d907c9d41ad19",
"url": "https://osv.dev/vulnerability/CVE-2023-25576",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "@fastify/multipart vulnerable to DoS due to unlimited number of parts",
"summary": "@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds.",
"evidence": "osv:CVE-2023-25576",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-25576",
"aliases": [
"CVE-2023-25576",
"GHSA-hpp2-2cr5-pf6g"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fastify/fastify-multipart",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9bf769978962164c08bb6bc69434b3dc2080822e"
},
{
"introduced": "5722827c28e9f37477e8172260ceb092a3892bf9"
},
{
"fixed": "1749638100d367600d08497abb2d22f96dff09fa"
},
{
"fixed": "85be81bedf5b29cfd9fe3efc30fb5a17173c1297"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fastify:fastify-multipart:*:*:*:*:*:fastify:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.0.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fastify:fastify-multipart:*:*:*:*:*:fastify:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.4.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "85be81bedf5b29cfd9fe3efc30fb5a17173c1297"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9bf769978962164c08bb6bc69434b3dc2080822e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.0.1"
},
{
"range": [
{
"fixed": "1749638100d367600d08497abb2d22f96dff09fa"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v7.4.1"
}
]
}
}
],
"versions": [
"v6.0.0",
"v7.4.0",
"v7.3.0",
"v7.2.0",
"v7.1.2",
"v7.1.1",
"v7.1.0",
"v7.0.0",
"v5.3.1",
"v5.3.0",
"v5.2.1",
"5.2.0",
"v5.1.0",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"4.0.7",
"v4.0.6",
"v4.0.5",
"v4.0.4",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.3.1",
"v3.3.0",
"v3.2.1",
"v3.2.0",
"v3.1.0",
"v3.0.0",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.1",
"v0.5.0",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25576.json"
}
}
],
"modified": "2026-10-28T02:30:49.467862915Z",
"provider": "osv",
"references": [
"https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1",
"https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1",
"https://hackerone.com/reports/1816195",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25576.json",
"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g",
"https://nvd.nist.gov/vuln/detail/CVE-2023-25576",
"https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297"
],
"provider_metadata": {
"cwe_ids": [
"CWE-770"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25576.json"
}
},
"related_cves": [
{
"value": "CVE-2023-25576",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517814,
"published_at": "2023-02-14T15:04:11.119+00:00"
}