CVE-2026-73258
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.5
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS probability
- 0.27%
- CWE
- CWE-697
- Published
- 2026-08-20
- Last modified
- 2026-08-20
Affected products
- cesanta mongoose
Weakness type
Related vulnerabilities
- CVE-2026-56101 — OpenBSD ieee80211_crypto_tkip.c TKIP MIC Countermeasure Logic Inversion DoS
- CVE-2026-73309 — XenForo < 2.3.13 Authentication Bypass via OAuth2 Token Endpoint
- CVE-2026-80227 — SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql
- CVE-2026-18664 — Wrong interpretation of ACL ranges
- CVE-2026-75110 — MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET
- CVE-2026-50029 — js-toml has silent type confusion via falsy-primitive duplicate-key bypass
- CVE-2026-20765 — Incorrect comparison for some Intel(R) TDX Guest software before version 0.3.1 within Ring 3: User...
- CVE-2026-67207 — Wolf CMS 0.8.3.1 Authorization Bypass via BackupRestoreController