CVE-2026-106024 Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongoose(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cesanta mongoose | < 7.24 | 7.24 | Fixed |
| debian/mongoose(Debian 14) | < 7.24+ds-1; = 7.21+ds-1; = 7.21+ds-1~bpo13+1; = 7.21+ds-2 +5 more | 7.24+ds-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mongoose(Debian:14) | < 7.24+ds-1 | 7.24+ds-1 |
| cesanta mongoose | < 7.24 | 7.24 |
| debian/mongoose(Debian:14) | = 7.21+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-2 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.23+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.23+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.24+ds-1~bpo13+1 | No fix listed |
| ubuntu/mongoose(Ubuntu:26.10) | All versions | No fix listed |
References
- Vendor Patch patch release-notes
- Vendor Advisory exploit technical-description vendor-advisory
- VulnCheck Advisory: Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c third-party-advisory
- ENISA EUVD EUVD-2026-131561 third-party-advisory
- Debian Security Tracker CVE-2026-106024 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org