CVE-2026-73258 json
Mongoose: Multipart boundary/header scan logic error in mg_http_next_multipart
published 2mo ago modified 22d ago also EUVD-2026-63495 , JLSEC-2026-1382
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
Mongoose is an embedded web server and network library. Prior to 7.22, a remote attacker can place a lone carriage return or line feed in multipart input processed by mg_http_next_multipart() in src/http.c. The loops comparing s[b] and s[b + 1], and s[h2] and s[h2 + 1], use an incorrect AND condition and stop when either character resembles part of a CRLF terminator. This truncates headers, filenames, or boundaries and can cause an application to accept dangerous content after seeing a misleading Content-Type value. This issue is fixed in version 7.22.
Patch / fix
- cesanta mongoose 7.22
- cesanta mongoose_embedded_web_server_library 7.22
- mongoose Debian 14 7.22+ds-1
debian advisories DEBIAN-CVE-2026-73258
- github.com/cesanta/mongoose@a9df523 commit
- github.com/cesanta/mongoose#3611 pull request
- github.com/cesanta/mongoose/releases/tag/7.22 release
Is CVE-2026-73258 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/cesanta/mongoose/security/advisories/GHSA-cc55-8v3r-59p8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Mongoose_jll | all versions |
no fix listed |
Affected products
- cesanta mongoose
Classification
- Weakness
-
- CWE-697 Incorrect Comparison
References
-
github.com
/cesanta/mongoose/pull/3611
issue-tracking, patch, web
-
github.com
/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71
patch, web
-
github.com
/cesanta/mongoose/security/advisories/GHSA-cc55-8v3r-59p8
exploit, vendor-advisory, web
-
github.com
/cesanta/mongoose/releases/tag/7.22
release-notes, web
Sources
- CVE List CVE-2026-73258
- NVD CVE-2026-73258
- OSV JLSEC-2026-1382
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.