DEBIAN-CVE-2023-48706

Source
https://security-tracker.debian.org/tracker/CVE-2023-48706
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-48706.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2023-48706
Upstream
Published
2023-11-22T22:15:08Z
Modified
2025-09-30T05:18:55.116791Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a :s command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive :s call causes free-ing of memory which may later then be accessed by the initial :s command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.

References

Affected packages

Debian:11 / vim

Package

Name
vim
Purl
pkg:deb/debian/vim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:8.*

2:8.2.2434-3
2:8.2.2434-3+deb11u1
2:8.2.2434-3+deb11u2
2:8.2.2434-3+deb11u3
2:8.2.3455-1
2:8.2.3455-2
2:8.2.3565-1
2:8.2.3995-1
2:8.2.4659-1
2:8.2.4793-1

2:9.*

2:9.0.0135-1
2:9.0.0229-1
2:9.0.0242-1
2:9.0.0626-1
2:9.0.0813-1
2:9.0.1000-1
2:9.0.1000-2
2:9.0.1000-3
2:9.0.1000-4
2:9.0.1378-1
2:9.0.1378-2
2:9.0.1658-1
2:9.0.1672-1
2:9.0.1894-1
2:9.0.2018-1
2:9.0.2087-1
2:9.0.2103-1
2:9.0.2116-1
2:9.0.2189-1
2:9.1.0-1
2:9.1.0016-1
2:9.1.0199-1
2:9.1.0374-1
2:9.1.0377-1
2:9.1.0496-1
2:9.1.0698-1
2:9.1.0709-1
2:9.1.0709-2
2:9.1.0777-1
2:9.1.0861-1
2:9.1.0967-1
2:9.1.0967-2
2:9.1.1113-1
2:9.1.1230-1
2:9.1.1230-2
2:9.1.1385-1
2:9.1.1766-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / vim

Package

Name
vim
Purl
pkg:deb/debian/vim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2:9.*

2:9.0.1378-2
2:9.0.1378-2+deb12u1
2:9.0.1378-2+deb12u2
2:9.0.1658-1
2:9.0.1672-1
2:9.0.1894-1
2:9.0.2018-1
2:9.0.2087-1
2:9.0.2103-1
2:9.0.2116-1
2:9.0.2189-1
2:9.1.0-1
2:9.1.0016-1
2:9.1.0199-1
2:9.1.0374-1
2:9.1.0377-1
2:9.1.0496-1
2:9.1.0698-1
2:9.1.0709-1
2:9.1.0709-2
2:9.1.0777-1
2:9.1.0861-1
2:9.1.0967-1
2:9.1.0967-2
2:9.1.1113-1
2:9.1.1230-1
2:9.1.1230-2
2:9.1.1385-1
2:9.1.1766-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / vim

Package

Name
vim
Purl
pkg:deb/debian/vim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:9.0.2189-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:14 / vim

Package

Name
vim
Purl
pkg:deb/debian/vim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:9.0.2189-1

Ecosystem specific

{
    "urgency": "unimportant"
}