Google LibWebP Arbitrary Code Execution Vulnerability (CVE-2023-5129) Notification

Google LibWebP Arbitrary Code Execution Vulnerability (CVE-2023-5129) Notification

setembro 27, 2023 | NSFOCUS


Recently, NSFOCUS CERT found that Google officially fixed a heap buffer overflow vulnerability (CVE-2023-4863). Due to a flaw in the WebP module, an attacker triggered the vulnerability by inducing users to visit a malicious website, which ultimately led to arbitrary code execution on the target system. At present, it has been detected that the vulnerability is being exploited in the wild. Affected users should take protective measures as soon as possible.

Google has reassigned the CVE number: CVE-2023-5129, marked as a serious issue in libwebp, in response to the aforementioned vulnerability of CVE-2023-4863. This vulnerability exists in the Huffman encoding algorithm used in libwebp for lossless compression, where attackers can use maliciously crafted HTML pages to perform out of bounds memory writes, which may ultimately lead to arbitrary code execution and unauthorized access to sensitive information.

Reference link: +/2af26267cdfcb63a88e5c74a85927a12d6ca1d76 +/902bc9190331343b2017211debce8d2ab87e17a

Scope of Impact

Affected version


  • Google Chrome for Mac/Linux<116.0.5845.187
  • Google Chrome for Windows<116.0.5845.187/188

CVS 2023-5129

  • 0.5.0<Libwebp<1.3.2

Unaffected version


  • Google Chrome for Mac/Linux>=116.0.5845.187
  • Google Chrome for Windows>=116.0.5845.187/. 188


Official upgrade

Currently, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade their protection in a timely manner:

Manual upgrade


This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.


NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyberattacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA). A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.