Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-12293 EUVD-2018-4267GHSA-g7g2-cvmj-5ppx

The getImageData function in the ImageBufferCairo class in WebCore/platform/graphics/cairo/ImageBufferCairo.cpp in WebKit, as used in WebKi…

Published Jun 19, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

The getImageData function in the ImageBufferCairo class in WebCore/platform/graphics/cairo/ImageBufferCairo.cpp in WebKit, as used in WebKitGTK+ prior to version 2.20.3 and WPE WebKit prior to version 2.20.1, is vulnerable to a heap-based buffer overflow triggered by an integer overflow, which could be abused by crafted HTML content.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 webkit2gtk 2.20.3-1 —
Debian 13 webkit2gtk 2.20.3-1 —
Debian 12 webkit2gtk 2.20.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS qtwebkit-opensource-src No fix yet —
Ubuntu 22.04 LTS qtwebkit-opensource-src No fix yet —
Ubuntu 20.04 LTS qtwebkit-opensource-src No fix yet —
Ubuntu 18.04 LTS webkit2gtk 2.20.3-0ubuntu0.18.04.1 USN-3687-1
Ubuntu 18.04 LTS webkitgtk +2 No fix yet —
Ubuntu 16.04 LTS webkit2gtk 2.20.3-0ubuntu0.16.04.1 USN-3687-1
Ubuntu 16.04 LTS webkitgtk +2 No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References