{"affected":[{"product":"mongoose","source":"CNA: GitHub_M","vendor":"cesanta","versions":[{"status":"affected","version":"< 7.22"}]}],"cveId":"CVE-2026-115473","cwes":["CWE-125","CWE-158"],"description":"Mongoose is an embedded web server and network library. Prior to 7.22, mg_path_is_sane in src/util.c read path.buf[1] without first requiring path.len to be at least two and read s[2] when only two bytes remained. Unauthenticated remote requests reaching mg_http_upload or mg_http_serve_dir with the affected short path shapes could therefore trigger one-byte heap out-of-bounds reads. On bare-metal or RTOS targets without memory protection, the adjacent byte could be exposed or influence whether a path was accepted, and instrumented builds could crash. This issue is fixed in version 7.22.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.5,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}],"modifiedAt":1793828439470,"publishedAt":1793828439470,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-cjmx-764f-286c"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/cesanta/mongoose/commit/b55de8b151d1466a3e41d1f854f22eeb6faa23dc"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/cesanta/mongoose/releases/tag/7.22"}],"remediation":[],"revision":"8486e2a788456c25044873bb633c46c260833448d387b900304b28e4d5d83f84","sources":[{"modifiedAt":1793828439470,"name":"CNA: GitHub_M","retrievedAt":1793830320709,"url":"https://www.cve.org/CVERecord?id=CVE-2026-115473"}],"ssvc":null,"status":"published","title":"Mongoose: Heap OOB reads and null-byte bypass in mg_path_is_sane (util.c)","updatedAt":1793830320709}