CVE-2025-51495
An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By sending a specially crafted WebSocket request, an attacker can cause the application to crash. If downstream vendors integrate this component improperly, the issue may lead to a buffer overflow.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | swupdate | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-51495 | |
| Ubuntu 24.04 | swupdate | Fix pending | UBUNTU-CVE-2025-51495 | |
| Ubuntu 22.04 | swupdate | Fix pending | UBUNTU-CVE-2025-51495 | |
| Debian 14 | swupdate | Fixed | 2025.12+dfsg-1 | DEBIAN-CVE-2025-51495 |
| Debian 13 | swupdate | Fix pending | DEBIAN-CVE-2025-51495 | |
| Debian 12 | swupdate | Fix pending | DEBIAN-CVE-2025-51495 |
References
- https://github.com/cesanta/mongoose
- https://github.com/cesanta/mongoose/pull/3131
- https://github.com/cainiao159357/CVE-2025-51495
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.