CVE-2022-47024 json
A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse in gui_x11.c in vim 8.1.2269 thru 9.0.0339 allows at…
published 2023-01-20 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-49802
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse in gui_x11.c in vim 8.1.2269 thru 9.0.0339 allows attackers to cause denial of service or other unspecified impacts.
Patch / fix
- vim Debian 14, Debian 13, Debian 12 2:9.0.0626-1
debian advisories DEBIAN-CVE-2022-47024
- vim Ubuntu 18.04 LTS 2:8.0.1453-1ubuntu1.11
- vim Ubuntu 20.04 LTS 2:8.1.2269-1ubuntu5.12
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.4
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm6
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm15
ubuntu advisories UBUNTU-CVE-2022-47024
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
- vim RHEL 9 2:8.2.2637-20.el9_1
- vim-X11 RHEL 9 2:8.2.2637-20.el9_1
- vim-common RHEL 9 2:8.2.2637-20.el9_1
- vim-minimal RHEL 9 2:8.2.2637-20.el9_1
- vim-enhanced RHEL 9 2:8.2.2637-20.el9_1
- vim-filesystem RHEL 9 2:8.2.2637-20.el9_1
red hat advisories RHSA-2023:0958
- vim-X11 AlmaLinux 9 2:8.2.2637-20.el9_1
- vim-common AlmaLinux 9 2:8.2.2637-20.el9_1
- vim-minimal AlmaLinux 9 2:8.2.2637-20.el9_1
- vim-enhanced AlmaLinux 9 2:8.2.2637-20.el9_1
- vim-filesystem AlmaLinux 9 2:8.2.2637-20.el9_1
almalinux advisories ALSA-2023:0958
- vim Rocky Linux 9 2:8.2.2637-20.el9_1
rocky linux advisories RLSA-2023:0958
- vim Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 9.0.0999-r0
alpine advisories ALPINE-CVE-2022-47024
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim Arch Linux 9.0.1225-1
arch linux advisories AVG-2843
- github.com/vim/vim@a63ad78 commit
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-2022-47024 updated cvss 7.8
vim: no check if the return value of XChangeGC() is NULL
-
Red Hat Enterprise Linux AppStream (v. 9) vim-X11 8.2.2637-20.el9_1, vim-common 8.2.2637-20.el9_1, vim-enhanced 8.2.2637-20.el9_1 Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-20.el9_1, vim-minimal 8.2.2637-20.el9_1, vim-filesystem 8.2.2637-20.el9_1fixed: vendor fix RHSA-2023:0958
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemnot 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/vim/vim/commit/a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PZWIJBSQX53P7DHV77KRXJIXA4GH7XHC/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4EX6N2DB75A73MQGVW3CS4VTNPAYVM2M/
vendor-advisory
-
security.gentoo.org
/glsa/202305-16
vendor-advisory
Sources
- CVE List CVE-2022-47024
- NVD CVE-2022-47024
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.