CVE-2026-106024
Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Oct 6, 2026
Description
Mongoose Embedded Web Server / Networking Library before 7.24 contains a WebSocket fragmentation validation vulnerability that allows remote attackers to spoof message metadata by sending a single CONTINUATION frame with FIN=1 as the first data frame instead of a required TEXT/BINARY start frame, violating RFC 6455 sequencing rules. Attackers can craft this malformed frame to make mg_ws_cb() in src/ws.c misinterpret the first byte of payload as saved FIN/opcode flags, causing the application to receive a dispatched MG_EV_WS_MSG event with attacker-controlled flags and data truncated by one byte without closing the connection.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | VulnCheck |
Weaknesses
- CWE-841 Improper Enforcement of Behavioral Workflow
Affected Products
| Product | Versions |
|---|---|
mongoosecesanta |
|
References
- Vendor Patchpatchrelease-notes
- Vendor Advisoryvendor-advisoryexploittechnical-description
- VulnCheck Advisory: Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.cthird-party-advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.