PT-2026-152997
CVE-2026-106024
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Mongoose Embedded Web Server / Networking Library versions prior to 7.24
Description
A WebSocket fragmentation validation issue exists where remote attackers can spoof message metadata. This occurs when a single CONTINUATION frame with FIN=1 is sent as the first data frame instead of the required TEXT or BINARY start frame, which violates RFC 6455 sequencing rules. This allows an attacker to cause the
mg ws cb() function in src/ws.c to misinterpret the first byte of the payload as saved FIN or opcode flags. Consequently, the application receives a dispatched MG EV WS MSG event containing attacker-controlled flags, and the data is truncated by one byte without the connection being closed.Recommendations
Update Mongoose Embedded Web Server / Networking Library to version 7.24 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾