CVE-2021-45481 json
In WebKitGTK before 2.32.4, there is incorrect memory allocation in WebCore::ImageBufferCairoImageSurfaceBackend::create, leading to a segm…
published 2021-12-25 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-32247
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- webkitgtk webkitgtk 2.32.4
- wpewebkit Debian 14, Debian 13, Debian 12 2.34.1-1
- webkit2gtk Debian 14, Debian 13, Debian 12 2.34.0-1
debian advisories DEBIAN-CVE-2021-45481
- webkit2gtk Ubuntu 20.04 LTS 2.34.1-0ubuntu0.20.04.1
- webkit2gtk Ubuntu 22.04 LTS 2.34.0-1ubuntu1
ubuntu advisories UBUNTU-CVE-2021-45481
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- webkit2gtk3 RHEL 8 2.34.6-1.el8
- webkit2gtk3-jsc RHEL 8 2.34.6-1.el8
- webkitgtk4 RHEL 7 ELS 2.48.3-2.el7_9
- webkitgtk4-jsc RHEL 7 ELS 2.48.3-2.el7_9
red hat advisories RHSA-2025:10364RHSA-2022:1777
- webkit2gtk3 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +9 more 2.34.6-29.1
- webkit2gtk3 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 2.34.6-3.97.1
- webkit2gtk3 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 2.34.5-2.85.3
suse advisories SUSE-SU-2022:0705-1SUSE-SU-2022:0703-1SUSE-SU-2022:0690-1
- webkit2gtk3 openSUSE Leap 15.3 2.34.6-29.1
opensuse advisories openSUSE-SU-2022:0705-1
- webkit2gtk3 AlmaLinux 8 2.34.6-1.el8
- webkit2gtk3-jsc AlmaLinux 8 2.34.6-1.el8
almalinux advisories ALSA-2022:1777
- webkit2gtk3 Rocky Linux 8 2.34.6-1.el8
rocky linux advisories RLSA-2022:1777
- webkit2gtk Alpine 3.20, Alpine 3.19, Alpine 3.18 +2 more 2.34.0-r0
alpine advisories ALPINE-CVE-2021-45481
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-45481 updated cvss 6.5
webkitgtk: Incorrect memory allocation in WebCore::ImageBufferCairoImageSurfaceBackend::create
-
Red Hat Enterprise Linux 6 webkitgtk Red Hat Enterprise Linux 7 webkitgtk3, libwebkit2gtkaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) webkit2gtk3 2.34.6-1.el8, webkit2gtk3-jsc 2.34.6-1.el8fixed: vendor fix RHSA-2022:1777
-
Red Hat Enterprise Linux Server (v. 7 ELS) webkitgtk4 2.48.3-2.el7_9, webkitgtk4-jsc 2.48.3-2.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) webkitgtk4-doc 2.48.3-2.el7_9, webkitgtk4-devel 2.48.3-2.el7_9, webkitgtk4-debuginfo 2.48.3-2.el7_9, webkitgtk4-jsc-devel 2.48.3-2.el7_9fixed: vendor fix RHSA-2025:10364
-
Red Hat Enterprise Linux 9 webkit2gtk3, webkit2gtk3-jscnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.53% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ChijinZ/security_advisories/tree/master/webkitgtk-2.32.3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/ChijinZ/security_advisories/tree/master/webkitgtk-2.32.3
exploit, third-party-advisory
-
openwall.com
/lists/oss-security/2022/01/21/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-45481
- NVD CVE-2021-45481
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.