# CVE-2026-113872: multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-10-22T14:20:18.363Z
- Modified: 2026-10-23T22:15:04.285Z
- Also known as: GHSA-q7qp-rjg7-q26m
- Weaknesses: CWE-248, CWE-404
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## Description

multer is a middleware for Node.js that handles multipart/form-data file uploads. In versions from 2.0.0 before 2.5.0, when multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If the request is aborted while one file's asynchronous fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down, and the underlying parser emits an error on a stream that no longer has an error listener, which Node raises as an unhandled error event so the process exits. Any application using multer with an asynchronous fileFilter is affected regardless of storage engine, while uploads using a synchronous fileFilter are not affected. The issue is fixed in multer 2.5.0, and users should upgrade to 2.5.0 or later. As a workaround, use a synchronous fileFilter.

(As written by CVE List.)

## Affected

- multer multer: from 2.0.0 before 2.5.0 (not affected: 2.5.0)
- multer (npm): from 2.0.0 before 2.5.0

## Every score

- openjs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m> (web)
- <https://cna.openjsf.org/security-advisories.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113872> (advisory)
- <https://github.com/expressjs/multer/commit/80a2d9df1dfd63b5fab631b8b9966164ed647adf> (web)
- <https://github.com/expressjs/multer> (package)
- <https://github.com/expressjs/multer/releases/tag/v2.5.0> (web)

## Sources

- CVE List: [CVE-2026-113872](https://www.cve.org/CVERecord?id=CVE-2026-113872), CVE Terms of Use, modified 2026-10-22
- GitHub Advisory Database: [GHSA-q7qp-rjg7-q26m](https://github.com/advisories/GHSA-q7qp-rjg7-q26m), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-113872](https://nvd.nist.gov/vuln/detail/CVE-2026-113872), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-113872 · Whole record: https://cve.day/CVE-2026-113872.json · Rebuilt by cve.day 2026-11-25T22:59:46.783Z
