Critical vulnerabilities in media libraries exploited in the wild: everything you need to know
A heap buffer overflow in the libwebp image library (CVE-2023-4863) and a heap buffer overflow in the libvpx video library (CVE-2023-5217) could allow remote attackers to write out of bounds memory via crafted WebP or VP8 files. Both were reportedly exploited in the wild, though concrete details of the malicious activity were not published.
CVE-2023-4863 is a critical vulnerability in libwebp, and CVE-2023-5217 is a high severity vulnerability in libvpx, both reportedly exploited in the wild. Both are mainly client side vulnerabilities and thus unlikely to be exploitable on most affected cloud workloads other than virtual desktops and servers that handle…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Huffman table size calculation in libwebp did not account for second-level table lookups, leading to an undersized buffer and out-of-bounds write; for libvpx, specific handling of a VP8 stream caused a heap overflow.
Impact
A remote attacker could potentially perform an out-of-bounds memory write, which may lead to code execution or crashes; both vulnerabilities were reportedly exploited in the wild, but no concrete details were published.
What the attacker needed
Victim opens a crafted WebP or VP8 file; vulnerable libwebp or libvpx version
The fix
The vulnerabilities were fixed in libwebp 1.3.2 and libvpx 1.13.1, and affected products should be patched.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
These are bugs in common image and video decoding libraries used by many apps. A crafted image or video file can cause the program to write data outside its intended memory buffer, which can crash it or potentially let an attacker run code. The bugs are client-side, so they mainly affect apps that open such files, not most cloud servers.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.