CVE-2022-2304
Stack-based Buffer Overflow in vim/vim
02 Description
Stack-based Buffer Overflow in vim/vim
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.49% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 74.0% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-07-05 00:00Z4 YR AGO
- Last updated
- 2026-10-08 21:14Z20 DAYS AGO
- Reserved
- 2022-07-04
- Assigning CNA
- @huntrdev
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.8)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 66aa615dc888f0de96b775d0d9a8d62aa776d806d6ae8651f826d5035f0ba484
05 Affected products
06 References
- huntr.devhttps://huntr.dev/bounties/eb7402f3-025a-402f-97a7-c38700d9548a
- github.comhttps://github.com/vim/vim/commit/54e5fed6d27b747ff152cdb6edfb72ff60e70939
- lists.fedoraproject.orgFEDORA-2022-b06fbea2c7https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/
- lists.fedoraproject.orgFEDORA-2022-9d7a58e376https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/
- security.gentoo.orgGLSA-202208-32https://security.gentoo.org/glsa/202208-32
- lists.debian.org[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security updatehttps://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- security.gentoo.orgGLSA-202305-16https://security.gentoo.org/glsa/202305-16
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
07 Fixed in
Debian 12
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- vim Fixed in 2:9.0.0135-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- vim Fixed in 2:8.0.1453-1ubuntu1.12
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- vim Fixed in 2:8.1.2269-1ubuntu5.13
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- vim Fixed in 2:8.2.3995-1ubuntu2.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- vim Fixed in 2:7.4.052-1ubuntu3.1+esm8Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- vim Fixed in 2:7.4.1689-3ubuntu1.5+esm13Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.