PT-2026-137186
CVE-2026-115473
·
Published
2026-11-04
·
Updated
2026-11-04
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Name of the Vulnerable Software and Affected Versions
Mongoose versions prior to 7.22
Description
An issue exists in the
mg path is sane() function within src/util.c where the system reads path.buf[1] without verifying that path.len is at least two bytes, and reads s[2] when only two bytes remain. Unauthenticated remote requests targeting the mg http upload or mg http serve dir endpoints with specific short path shapes can trigger one-byte heap out-of-bounds reads. On bare-metal or RTOS (Real-Time Operating System) targets lacking memory protection, this may expose adjacent bytes or affect path acceptance, while instrumented builds may crash.Recommendations
Update to version 7.22.
Found an issue in the description? Have something to add? Feel free to write us 👾