{"id":"CVE-2025-51495","aliases":["DEBIAN-CVE-2025-51495","EUVD-2025-31586","GHSA-83rc-g55p-8xj2","UBUNTU-CVE-2025-51495"],"status":"published","title":"An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By...","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00424,"percentile":0.37002,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-121","CWE-190"],"published":"2025-09-29T00:00:00Z","modified":"2026-11-08T10:00:10Z","exploits":[{"source":"pocgithub","id":"cainiao159357/CVE-2025-51495","title":"cainiao159357/CVE-2025-51495","date":"2025-09-25","url":"https://github.com/cainiao159357/CVE-2025-51495"}],"fixes":[{"ecosystem":"Debian:14","package":"swupdate","fixed_in":["2025.12+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2022.12+dfsg-4","2022.12+dfsg-4+deb12u1","2022.12+dfsg-4+deb12u1~bpo11+1","2022.12+dfsg-4+deb12u2","2022.12+dfsg-4+deb12u3","2023.05+dfsg-1","2023.05+dfsg-2","2023.05+dfsg-2~bpo12+1","2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-5","2023.05+dfsg-5~bpo12+1","2023.12+dfsg-1","2023.12+dfsg-1~bpo12+1","2023.12.1+dfsg-1","2023.12.1+dfsg-1~bpo12+1","2023.12.1+dfsg-2","2023.12.1+dfsg-2~bpo12+1","2024.05+dfsg-1","2024.05.2+dfsg-1","2024.05.2+dfsg-2","2024.05.2+dfsg-2~bpo12+1","2024.12+dfsg-1","2024.12+dfsg-2","2024.12+dfsg-2~bpo12+1","2024.12.1+dfsg-1","2024.12.1+dfsg-1~bpo12+1","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2024.12.1+dfsg-3~bpo12+1","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1","2025.12+dfsg-1","2025.12+dfsg-10","2025.12+dfsg-10~bpo13+1","2025.12+dfsg-10~bpo13+2","2025.12+dfsg-2","2025.12+dfsg-2~bpo13+1","2025.12+dfsg-3","2025.12+dfsg-4","2025.12+dfsg-5","2025.12+dfsg-6","2025.12+dfsg-7","2025.12+dfsg-7~bpo13+1","2025.12+dfsg-8","2025.12+dfsg-9","2026.05+dfsg-1","2026.05+dfsg-2","2026.05+dfsg-3","2026.05+dfsg-3~bpo13+1","2026.05+dfsg-4","2026.05.1+dfsg-1","2026.05.1+dfsg-1~bpo13+1","2026.05.1+git20261001+dfsg-1","2026.05.1+git20261001+dfsg-2","2026.05.1+git20261001+dfsg-2~bpo13+1"]},{"source":"osv","ecosystem":"Debian:13","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-3","2024.12.1+dfsg-3+deb13u1","2024.12.1+dfsg-3+deb13u2","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1","2025.12+dfsg-1","2025.12+dfsg-10","2025.12+dfsg-10~bpo13+1","2025.12+dfsg-10~bpo13+2","2025.12+dfsg-2","2025.12+dfsg-2~bpo13+1","2025.12+dfsg-3","2025.12+dfsg-4","2025.12+dfsg-5","2025.12+dfsg-6","2025.12+dfsg-7","2025.12+dfsg-7~bpo13+1","2025.12+dfsg-8","2025.12+dfsg-9","2026.05+dfsg-1","2026.05+dfsg-2","2026.05+dfsg-3","2026.05+dfsg-3~bpo13+1","2026.05+dfsg-4","2026.05.1+dfsg-1","2026.05.1+dfsg-1~bpo13+1","2026.05.1+git20261001+dfsg-1","2026.05.1+git20261001+dfsg-2","2026.05.1+git20261001+dfsg-2~bpo13+1"]},{"source":"osv","ecosystem":"Debian:14","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.12+dfsg-1"}]}],"versions":["2024.12.1+dfsg-3","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-4build1","2023.05+dfsg-5","2023.12+dfsg-1","2023.12.1+dfsg-1ubuntu1","2023.12.1+dfsg-1ubuntu4","2023.12.1+dfsg-1ubuntu5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-1build2","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2025.05+dfsg-2ubuntu1"]}],"products":[{"vendor":"cesanta","product":"mongoose"}],"references":[{"url":"https://github.com/cesanta/mongoose","tags":["Product","package"]},{"url":"https://github.com/cesanta/mongoose/pull/3131","tags":["Issue Tracking","Patch","fix","report"]},{"url":"https://github.com/cainiao159357/CVE-2025-51495","tags":["Exploit","package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51495","tags":["advisory"]},{"url":"http://mongoose.com"},{"url":"https://github.com/advisories/GHSA-83rc-g55p-8xj2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51495.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-51495","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-51495","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-51495","tags":["report"]},{"url":"https://github.com/cesanta/mongoose/commit/cdc439bc38570048541b2ac6b9c326da87bf4a0a","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-51495","description":"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.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2025-10-01T15:21:21.511Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-31586","description":"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.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2025-10-01T15:21:21Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:31:37.600422Z"}],"ghsa":[{"id":"GHSA-83rc-g55p-8xj2","title":"An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By...","description":"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.","status":"published","published":"2025-09-29T18:33:13Z","modified":"2025-09-30T18:31:44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-121","CWE-190"],"updated_at":"2026-11-02T15:03:49.069159Z"}],"nvd":[{"id":"CVE-2025-51495","description":"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.","status":"published","published":"2025-09-29T17:15:31.153Z","modified":"2026-11-07T17:10:00.24Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-07T20:06:28.095135Z"}],"osv":[{"id":"CVE-2025-51495","description":"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.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2026-11-09T02:30:51.18133929Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-09T03:16:44.651171Z"},{"id":"DEBIAN-CVE-2025-51495","description":"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.","status":"published","published":"2025-09-29T17:15:31.153Z","modified":"2026-11-08T10:00:10.930035581Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-08T10:03:28.621517Z"},{"id":"UBUNTU-CVE-2025-51495","description":"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.","status":"published","published":"2025-09-29T17:15:00Z","modified":"2026-05-27T19:15:08.838200249Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"}]}}
