CVE-2025-11679 Details
Description
Out-of-bounds Read in lws_upng_emit_next_line in warmcat libwebsockets allows, when the LWS_WITH_UPNG flag is enabled during compilation and the HTML display stack is used, to read 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 height dimension.
A vulnerability allowing out-of-bounds read has been identified in the libwebsockets library, specifically in version 4.4, when the LWS_WITH_UPNG flag is enabled during compilation. The issue arises in the PNG parsing component, particularly within the 'lws_upng_emit_next_line' function. When a user visits an attacker-controlled website that contains a specially crafted PNG file with a large height dimension, the vulnerability can be exploited. The manipulation causes the program to read past a heap-allocated buffer, potentially leading to a crash. This out-of-bounds read is triggered by PNG files with a width of 1, a bit depth of 1, and an exaggerated height, causing the application to access memory beyond the intended limits, resulting in a segmentation fault or crash.
A patch has been proposed that modifies the array access to the PNG input buffer, ensuring it stays within the allocated limits. This patch is available in the Nozomi Networks advisory for CVE-2025-11679.
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=7df24cca7144d7bc9233b6b0a71108bd154ce101 | [email protected] | Source CodeVendor |
| https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11679 | [email protected] | AdvisoryBroken Link |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| warmcat libwebsockets | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 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