CVE-2025-11680 Details
Description
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.
A vulnerability allowing out-of-bounds write has been identified in the Warmcat libwebsockets library, specifically in version 4.4 of the UPNG component. This vulnerability arises when the library is compiled with the LWS_WITH_UPNG flag enabled and the HTML display stack is used. The issue occurs because a crafted PNG file, containing a large width value that triggers an integer overflow, can be used to write past the bounds of a heap-allocated buffer. This exploitation may lead to a crash or other undesirable effects, such as memory corruption.
Users are advised to update to the patched version of libwebsockets, which includes a sanity check to prevent the integer overflow by ensuring that the width value does not exceed a certain limit before memory allocation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 20, 2025CISA-ADP
Assessed Oct 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://libwebsockets.org/git/libwebsockets/commit?id=2b715249f39291c86443b969a1088d59b6a89b78 | [email protected] | Source CodeVendor |
| https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11680 | [email protected] | AdvisoryBroken Link |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| warmcat libwebsockets | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Sep 30, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2025 | New CVE Received | [email protected] |
Volerion