CVE-2025-11680: Out-of-bounds Write in libwebsockets PNG parsing

Published Oct 20, 2025
·
Updated

Out-of-bounds Write in unfilterscanline in warmcat libwebsockets allows, when the LWSWITHUPNG 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 Software

1 affected component
warmcat libwebsockets

Remediation

Information

Update the library to its latest stable release, if not possible backport the fix commit 2b715249f39291c86443b969a1088d59b6a89b78

Event History

Oct 20, 2025
CVE Published
via MITRE·02:04 PM
Data Sourced
via MITRE·02:04 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-11680?

CVE-2025-11680 is considered to be a high severity vulnerability due to the potential for crashes and exploitation.

2

How do I fix CVE-2025-11680?

To fix CVE-2025-11680, ensure that the LWS_WITH_UPNG flag is not enabled during the compilation of warmcat libwebsockets or apply the latest patches provided by the maintainers.

3

What type of vulnerability is CVE-2025-11680?

CVE-2025-11680 is an out-of-bounds write vulnerability that can result in writing past a heap allocated buffer.

4

What components are affected by CVE-2025-11680?

CVE-2025-11680 affects the warmcat libwebsockets library when the HTML display stack is used.

5

Can CVE-2025-11680 be exploited remotely?

Yes, CVE-2025-11680 can be exploited when a user visits an attacker-controlled website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203