5.9medium
Out-of-bounds Write in libwebsockets PNG parsing
- Severity
- 5.9medium CVSS:4.0 by Nozomi
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Nozomi
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| warmcat libwebsockets | from 4.0 up to 4.4.2, from 4.0 up to 4.3.6 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Escritura fuera de límites en unfilter_scanline en warmcat libwebsockets permite, cuando la bandera LWS_WITH_UPNG está habilitada durante la compilación y se utiliza la pila de visualización HTML, escribir más allá de un búfer asignado en el montón, posiblemente causando un fallo, cuando el usuario visita un sitio web controlado por un atacante que contiene un archivo PNG manipulado con un valor de ancho grande que causa un desbordamiento de entero cuyo valor se utiliza para determinar el tamaño de una asignación en el montón.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-11680 changed 2025-10-20 | CVE Terms of Use |
| NVD | CVE-2025-11680 changed 2026-10-08 | Public domain |