{"id":"UBUNTU-CVE-2025-51495","details":"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.","modified":"2026-05-27T19:15:08.838200249Z","published":"2025-09-29T17:15:00Z","upstream":["CVE-2025-51495"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-51495"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-51495"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/pull/3131"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/commit/cdc439bc38570048541b2ac6b9c326da87bf4a0a"}],"affected":[{"package":{"name":"swupdate","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libswupdate0.1","binary_version":"2021.11-1"},{"binary_name":"lua-swupdate","binary_version":"2021.11-1"},{"binary_name":"swupdate","binary_version":"2021.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51495.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=noble"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libswupdate0.1","binary_version":"2023.12.1+dfsg-1ubuntu5"},{"binary_name":"lua-swupdate","binary_version":"2023.12.1+dfsg-1ubuntu5"},{"binary_version":"2023.12.1+dfsg-1ubuntu5","binary_name":"swupdate"},{"binary_name":"swupdate-www","binary_version":"2023.12.1+dfsg-1ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51495.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=questing"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libswupdate0.1","binary_version":"2025.05+dfsg-2ubuntu1"},{"binary_name":"lua-swupdate","binary_version":"2025.05+dfsg-2ubuntu1"},{"binary_name":"swupdate","binary_version":"2025.05+dfsg-2ubuntu1"},{"binary_name":"swupdate-www","binary_version":"2025.05+dfsg-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51495.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}