# CVE-2021-45481: webkit2gtk: In WebKitGTK before 2.32.4, there is incorrect memory allocation in WebCore::ImageBufferCairoImageSurfaceBackend::cre...

CVE-2021-45481 is fixed in 13 products on 1 platform, first by gir1.2-javascriptcoregtk-4.0 2.34.1-0ubuntu0.20.04.1, released December 24, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-45481
- Priority: High
- CVSS: 8.8 (medium)
- EPSS: 0.0153
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 24, 2021

## Description

In WebKitGTK before 2.32.4, there is incorrect memory allocation in WebCore::ImageBufferCairoImageSurfaceBackend::create, leading to a segmentation violation and application crash, a different vulnerability than CVE-2021-30889.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gir1.2-javascriptcoregtk-4.0 Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [gir1.2-javascriptcoregtk-4.0 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-gir1.2-javascriptcoregtk-4.0-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | gir1.2-javascriptcoregtk-4.0 Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [gir1.2-javascriptcoregtk-4.0 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gir1.2-javascriptcoregtk-4.0-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | gir1.2-webkit2-4.0 Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [gir1.2-webkit2-4.0 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-gir1.2-webkit2-4.0-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | gir1.2-webkit2-4.0 Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [gir1.2-webkit2-4.0 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gir1.2-webkit2-4.0-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | libjavascriptcoregtk-4.0-18 Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [libjavascriptcoregtk-4.0-18 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjavascriptcoregtk-4.0-18-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | libjavascriptcoregtk-4.0-18 Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [libjavascriptcoregtk-4.0-18 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libjavascriptcoregtk-4.0-18-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | libjavascriptcoregtk-4.0-bin Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [libjavascriptcoregtk-4.0-bin 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjavascriptcoregtk-4.0-bin-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | libjavascriptcoregtk-4.0-bin Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [libjavascriptcoregtk-4.0-bin 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libjavascriptcoregtk-4.0-bin-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | libwebkit2gtk-4.0-37 Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [libwebkit2gtk-4.0-37 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwebkit2gtk-4.0-37-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | libwebkit2gtk-4.0-37 Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [libwebkit2gtk-4.0-37 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwebkit2gtk-4.0-37-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | libwebkit2gtk-4.0-37-gtk2 Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [libwebkit2gtk-4.0-37-gtk2 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwebkit2gtk-4.0-37-gtk2-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | webkit2gtk Debian 12.15 (bookworm) | 2.34.0-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |
| Linux | webkit2gtk Debian 13.5 (trixie) | 2.34.0-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |
| Linux | webkit2gtk Debian 14 | 2.34.0-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |
| Linux | webkit2gtk-driver Ubuntu 20.04 LTS (focal) | 2.34.1-0ubuntu0.20.04.1 | [webkit2gtk-driver 2.34.1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-webkit2gtk-driver-2.34.1-0ubuntu0.20.04.1.md) | Dec 24, 2021 |
| Linux | webkit2gtk-driver Ubuntu 22.04.1 LTS (jammy) | 2.34.0-1ubuntu1 | [webkit2gtk-driver 2.34.0-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-webkit2gtk-driver-2.34.0-1ubuntu1.md) | Dec 24, 2021 |
| Linux | webkit2gtk3 RHEL 8 | 0:2.34.6-1.el8 | [RHSA-2022:1777](https://patchblox.com/security/data/fix/linux/rhsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3 almalinux 8 | 2.34.6-1.el8 | [ALSA-2022:1777](https://patchblox.com/security/data/fix/linux/alsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3 ol 8 | 0:2.34.6-1.el8 | [ELSA-2022-1777](https://patchblox.com/security/data/fix/linux/elsa-2022-1777.md) | May 17, 2022 |
| Linux | webkit2gtk3 rocky 8 | 0:2.34.6-1.el8 | [RLSA-2022:1777](https://patchblox.com/security/data/fix/linux/rlsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-devel RHEL 8 | 0:2.34.6-1.el8 | [RHSA-2022:1777](https://patchblox.com/security/data/fix/linux/rhsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-devel almalinux 8 | 2.34.6-1.el8 | [ALSA-2022:1777](https://patchblox.com/security/data/fix/linux/alsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-devel ol 8 | 0:2.34.6-1.el8 | [ELSA-2022-1777](https://patchblox.com/security/data/fix/linux/elsa-2022-1777.md) | May 17, 2022 |
| Linux | webkit2gtk3-jsc RHEL 8 | 0:2.34.6-1.el8 | [RHSA-2022:1777](https://patchblox.com/security/data/fix/linux/rhsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-jsc almalinux 8 | 2.34.6-1.el8 | [ALSA-2022:1777](https://patchblox.com/security/data/fix/linux/alsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-jsc ol 8 | 0:2.34.6-1.el8 | [ELSA-2022-1777](https://patchblox.com/security/data/fix/linux/elsa-2022-1777.md) | May 17, 2022 |
| Linux | webkit2gtk3-jsc-devel RHEL 8 | 0:2.34.6-1.el8 | [RHSA-2022:1777](https://patchblox.com/security/data/fix/linux/rhsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-jsc-devel almalinux 8 | 2.34.6-1.el8 | [ALSA-2022:1777](https://patchblox.com/security/data/fix/linux/alsa-2022-1777.md) | May 10, 2022 |
| Linux | webkit2gtk3-jsc-devel ol 8 | 0:2.34.6-1.el8 | [ELSA-2022-1777](https://patchblox.com/security/data/fix/linux/elsa-2022-1777.md) | May 17, 2022 |
| Linux | wpewebkit Debian 12.15 (bookworm) | 2.34.1-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |
| Linux | wpewebkit Debian 13.5 (trixie) | 2.34.1-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |
| Linux | wpewebkit Debian 14 | 2.34.1-1 | [DEBIAN-CVE-2021-45481](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45481.md) | Dec 25, 2021 |

---

Data as of 2026-11-12T07:53:35Z 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.
