Integer Overflow or Wraparound in vim/vim
Published Jul 2, 2022
7.8
HIGHCVSS 3.1
EPSS 1.42%
Description
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<9.0
- Version
Configuration 2
- 35
- 36
Configuration 3
- 10.0
No data.
Red Hat Enterprise Linux 6
vim
Out of support scope
Red Hat Enterprise Linux 7
vim
Out of support scope
Red Hat Enterprise Linux 8
vim
Fix deferred
Red Hat Enterprise Linux 9
vim
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | vim | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | vim | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/
Red Hat mitigation
Untrusted vim scripts with -s [scriptin] are not recommended to run.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.42% (0.01420) | 71.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.11% (0.01107) | 61.46th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.13% (0.00125) | 29.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.13% (0.00126) | 48.90th | v3 (v2023.03.01) |
| Feb 21, 2024 | 0.10% (0.00097) | 39.22th | v3 (v2023.03.01) |
| Dec 13, 2023 | 0.09% (0.00089) | 37.36th | v3 (v2023.03.01) |
| Oct 7, 2023 | 0.07% (0.00075) | 31.26th | v3 (v2023.03.01) |
| Aug 4, 2023 | 0.07% (0.00068) | 27.94th | v3 (v2023.03.01) |
| May 4, 2023 | 0.06% (0.00056) | 21.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00053) | 18.77th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Nov 9, 2022 | 1.11% (0.01108) | 54.03th | v2 (v2022.01.01) |
| Jul 22, 2022 | 1.02% (0.01018) | 38.33th | v2 (v2022.01.01) |
| Jul 15, 2022 | 0.95% (0.00954) | 33.99th | v2 (v2022.01.01) |
| Jul 3, 2022 | 0.89% (0.00885) | 25.45th | v2 (v2022.01.01) |
References (11)
- https://access.redhat.com/security/cve/CVE-2022-2285 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2103874 Issue Tracking
- https://github.com/vim/vim/commit/27efc62f5d86afcb2ecb7565587fe8dea4b036fe PatchThird Party Advisory
- https://huntr.dev/bounties/64574b28-1779-458d-a221-06c434042736 ExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-2285
- https://security.gentoo.org/glsa/202208-32 vendor-advisoryThird Party Advisory
- https://security.gentoo.org/glsa/202305-16 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-2285
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-2285 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2103874 | Issue Tracking | |
| https://github.com/vim/vim/commit/27efc62f5d86afcb2ecb7565587fe8dea4b036fe | PatchThird Party Advisory | |
| https://huntr.dev/bounties/64574b28-1779-458d-a221-06c434042736 | ExploitPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html | mailing-listMailing ListThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/ | vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-2285 | ||
| https://security.gentoo.org/glsa/202208-32 | vendor-advisoryThird Party Advisory | |
| https://security.gentoo.org/glsa/202305-16 | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-2285 |
Change history (0)
No recorded changes yet.