What’s Vulnerable › Vulnerabilities
CVE-2018-12293
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 10.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-06-19 · updated 2026-06-17
- Weakness: CWE-190
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.
Affected products
- Canonical Ubuntu Linux: 16.04, 17.10, 18.04
- Webkitgtk+: before 2.20.3 — fixed in 2.20.3
- Wpewebkit Wpe Webkit: before 2.20.1 — fixed in 2.20.1
How to fix
Upgrade to a fixed version: Webkitgtk+ 2.20.3; Wpewebkit Wpe Webkit 2.20.1. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/148200/WebKitGTK-Data-Leak-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2018/06/14/1
- http://www.securityfocus.com/archive/1/542087/100/0/threaded
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://security.gentoo.org/glsa/201808-04
- https://trac.webkit.org/changeset/232618
- https://usn.ubuntu.com/3687-1/
- https://www.exploit-db.com/exploits/45205/
- http://packetstormsecurity.com/files/148200/WebKitGTK-Data-Leak-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2018/06/14/1
- http://www.securityfocus.com/archive/1/542087/100/0/threaded
- https://bugs.webkit.org/show_bug.cgi?id=186384
Get alerted when CVE-2018-12293 or the next vulnerability affects your stack