CVE-2025-11680
JSON

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 packageVersionsReported by
warmcat libwebsocketsfrom 4.0 up to 4.4.2, from 4.0 up to 4.3.6CVE List

Classification

CWE-787

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

SourceRecordLicence
CVE ListCVE-2025-11680 changed 2025-10-20CVE Terms of Use
NVDCVE-2025-11680 changed 2026-10-08Public domain