Skip to content

CVE-2026-106024 Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c

MediumCVSS 6.9 EPSS 0.45%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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