5.5 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
6.9 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
5.1%
Vim is an improved version of the good old UNIX editor Vi.
Heap-use-after-free in memory allocated in the function ga_grow_inner
in
in the file src/alloc.c
at line 748, which is freed in the file
src/ex_docmd.c
in the function do_cmdline
at line 1010 and then used
again in src/cmdhist.c
at line 759. When using the :history
command,
it’s possible that the provided argument overflows the accepted value.
Causing an Integer Overflow and potentially later an use-after-free. This
vulnerability has been patched in version 9.0.2068.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | vim | < 2:8.0.1453-1ubuntu1.13+esm7 | UNKNOWN |
ubuntu | 20.04 | noarch | vim | < 2:8.1.2269-1ubuntu5.21 | UNKNOWN |
ubuntu | 22.04 | noarch | vim | < 2:8.2.3995-1ubuntu2.15 | UNKNOWN |
ubuntu | 23.04 | noarch | vim | < 2:9.0.1000-4ubuntu3.3 | UNKNOWN |
ubuntu | 23.10 | noarch | vim | < 2:9.0.1672-1ubuntu2.2 | UNKNOWN |
ubuntu | 14.04 | noarch | vim | < 2:7.4.052-1ubuntu3.1+esm15 | UNKNOWN |
ubuntu | 16.04 | noarch | vim | < 2:7.4.1689-3ubuntu1.5+esm22 | UNKNOWN |
github.com/vim/vim/commit/9198c1f2b1ddecde22af918541e0de2a32f0f45a
github.com/vim/vim/commit/9198c1f2b1ddecde22af918541e0de2a32f0f45a (v9.0.2068)
github.com/vim/vim/security/advisories/GHSA-q22m-h7m2-9mgm
launchpad.net/bugs/cve/CVE-2023-46246
nvd.nist.gov/vuln/detail/CVE-2023-46246
security-tracker.debian.org/tracker/CVE-2023-46246
ubuntu.com/security/notices/USN-6557-1
www.cve.org/CVERecord?id=CVE-2023-46246
5.5 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
6.9 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
5.1%