{"id":"CVE-2026-73258","sourceIdentifier":"security-advisories@github.com","published":"2026-08-20T18:16:47.323","lastModified":"2026-10-18T20:10:00.110","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Mongoose es un servidor web incrustado y una biblioteca de red. Antes de la versión 7.22, un atacante remoto puede colocar un retorno de carro o un salto de línea solitario en la entrada multipart procesada por mg_http_next_multipart() en src/http.c. Los bucles que comparan s[b] y s[b + 1], y s[h2] y s[h2 + 1], usan una condición AND incorrecta y se detienen cuando cualquiera de los caracteres se asemeja a parte de un terminador CRLF. Esto trunca encabezados, nombres de archivo o límites y puede hacer que una aplicación acepte contenido peligroso después de ver un valor de Content-Type engañoso. Este problema está solucionado en la versión 7.22."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"cesanta","product":"mongoose","versions":[{"version":"< 7.22","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-20T18:32:20.304577Z","id":"CVE-2026-73258","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-697"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*","versionEndExcluding":"7.22","matchCriteriaId":"455C6F41-72BB-40DA-BF44-9D7C6B0C2EB5"}]}]}],"references":[{"url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/cesanta/mongoose/pull/3611","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-cc55-8v3r-59p8","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-cc55-8v3r-59p8","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Vendor Advisory"]}]}