{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73258","id":"CVE-2026-73258","title":"Mongoose: Multipart boundary/header scan logic error in mg_http_next_multipart","description":"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, filena","descriptionLong":"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.","published":"2026-08-20T17:36:39.239Z","updated":"2026-11-04T13:06:02.806337636Z","reserved":"2026-08-11T17:18:01.598Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["cesanta mongoose"],"affectedProducts":[{"vendor":"cesanta","product":"mongoose","defaultStatus":null,"versions":[{"version":"< 7.22","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-697"],"aliases":["GHSA-cc55-8v3r-59p8"],"references":[{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-cc55-8v3r-59p8","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73258.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73258","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00459,"epssPercentile":0.40448,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73258","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73258","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73258","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73258","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}