# CVE-2018-12293: gir1.2-javascriptcoregtk-4.0: The getImageData function in the ImageBufferCairo class in WebCore/platform/graphics/cairo/ImageBufferCairo.cpp in We...

CVE-2018-12293 is fixed in 7 products on 1 platform, first by gir1.2-javascriptcoregtk-4.0 2.20.3-0ubuntu0.18.04.1, released April 3, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-12293
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.1003
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 13, 2018

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gir1.2-javascriptcoregtk-4.0 Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [gir1.2-javascriptcoregtk-4.0 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gir1.2-javascriptcoregtk-4.0-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | gir1.2-webkit2-4.0 Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [gir1.2-webkit2-4.0 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-gir1.2-webkit2-4.0-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | libjavascriptcoregtk-4.0-18 Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [libjavascriptcoregtk-4.0-18 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjavascriptcoregtk-4.0-18-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | libjavascriptcoregtk-4.0-bin Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [libjavascriptcoregtk-4.0-bin 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjavascriptcoregtk-4.0-bin-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | libwebkit2gtk-4.0-37 Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [libwebkit2gtk-4.0-37 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwebkit2gtk-4.0-37-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | libwebkit2gtk-4.0-37-gtk2 Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [libwebkit2gtk-4.0-37-gtk2 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwebkit2gtk-4.0-37-gtk2-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |
| Linux | webkit2gtk-driver Ubuntu 18.04.6 LTS (bionic) | 2.20.3-0ubuntu0.18.04.1 | [webkit2gtk-driver 2.20.3-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-webkit2gtk-driver-2.20.3-0ubuntu0.18.04.1.md) | Apr 3, 2019 |

---

Data as of 2026-11-12T13:55:20Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
