{"id":"UBUNTU-CVE-2025-11680","details":"Out-of-bounds Write in unfilter_scanline in warmcat libwebsockets allows, when the LWS_WITH_UPNG flag is enabled during compilation and the HTML display stack is used, to write past a heap allocated buffer possibly causing a crash, when the user visits an attacker controlled website that contains a crafted PNG file with a big width value that causes an integer overflow which value is used for determining the size of a heap allocation.","modified":"2026-02-12T06:33:30.845951Z","published":"2025-10-20T14:15:00Z","withdrawn":"2026-02-12T05:22:01Z","upstream":["CVE-2025-11680"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-11680"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-11680"},{"type":"REPORT","url":"https://libwebsockets.org/git/libwebsockets/commit?id=2b715249f39291c86443b969a1088d59b6a89b78"},{"type":"REPORT","url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11680"}],"affected":[{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@1.7.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.6.0-3","1.6.0-4","1.6.0-5","1.6.1-1","1.7.0-1ubuntu1","1.7.0-2","1.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-dev","binary_version":"1.7.1-1"},{"binary_name":"libwebsockets-test-server","binary_version":"1.7.1-1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"1.7.1-1"},{"binary_name":"libwebsockets7","binary_version":"1.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@2.0.3-3build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3","2.0.3-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-dev","binary_version":"2.0.3-3build1"},{"binary_name":"libwebsockets-test-server","binary_version":"2.0.3-3build1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"2.0.3-3build1"},{"binary_name":"libwebsockets8","binary_version":"2.0.3-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@3.2.1-3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3build1","3.2.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-dev","binary_version":"3.2.1-3"},{"binary_name":"libwebsockets-test-server","binary_version":"3.2.1-3"},{"binary_version":"3.2.1-3","binary_name":"libwebsockets-test-server-common"},{"binary_name":"libwebsockets15","binary_version":"3.2.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@4.0.20-2ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.20-2","4.0.20-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.20-2ubuntu1","binary_name":"libwebsockets-dev"},{"binary_name":"libwebsockets-test-server","binary_version":"4.0.20-2ubuntu1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.0.20-2ubuntu1"},{"binary_version":"4.0.20-2ubuntu1","binary_name":"libwebsockets16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@4.3.3-1.1build3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-4","4.3.3-1","4.3.3-1.1build1","4.3.3-1.1build2","4.3.3-1.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-dev","binary_version":"4.3.3-1.1build3"},{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.3-1.1build3"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.3-1.1build3"},{"binary_version":"4.3.3-1.1build3","binary_name":"libwebsockets-evlib-uv"},{"binary_name":"libwebsockets-test-server","binary_version":"4.3.3-1.1build3"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.3-1.1build3"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.3-1.1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libwebsockets@4.3.5-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-dev","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.5-1"},{"binary_version":"4.3.5-1","binary_name":"libwebsockets-evlib-uv"},{"binary_name":"libwebsockets-test-server","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.5-1"},{"binary_version":"4.3.5-1","binary_name":"libwebsockets19t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11680.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}