Skip to content
OpenAdvisories
Medium · 5.9 CVE-2025-11680 EUVD-2025-35055GHSA-7h7w-vjr9-r6m8

Out-of-bounds Write in libwebsockets PNG parsing

Published Oct 20, 2025 · Updated Oct 20, 2025 · 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 products

VendorProductAffectedFixed
warmcat libwebsockets 4.0 – ≤ 4.4.2, 4.0 – ≤ 4.3.6 —

References