
CVE catalog
CVE-2025-27423
vim: CVE-2025-27423
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 22.47% · Oct 25, 2026
Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | vim | sid | 2:9.2.0858-1 | fixed |
| Debian | vim | forky | 2:9.2.0858-1 | fixed |
| Debian | vim | trixie | 2:9.1.1230-2 | fixed |
| Debian | vim | bookworm | 2:9.0.1378-2+deb12u2 | not affected |
| Alpine | vim | 3.22 | 9.1.1164-r0 | fixed |
| Alpine | vim | 3.23 | 9.1.1164-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | vim | source | sid | 2:9.1.1230-1 | not yet assigned | Not reported | [1099610] |
| Debian | vim | source | forky | 2:9.1.1230-1 | not yet assigned | Not reported | [1099610] |
| Debian | vim | source | trixie | 2:9.1.1230-1 | not yet assigned | Not reported | [1099610] |
| Debian | vim | source | bookworm | Not affected | unimportant | Not reported | [1099610] |
| Alpine | vim | apk | 3.22 | 9.1.1164-r0 | Not reported | ALPINE-CVE-2025-27423 | Not reported |
| Alpine | vim | apk | 3.23 | 9.1.1164-r0 | Not reported | ALPINE-CVE-2025-27423 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [vim]Not affected
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-athena]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-common]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-doc]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-gtk3]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-gui-common]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-motif]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-nox]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-runtime]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· all · bookwormNot affected
dsa · vim · debian · bookworm
- [vim-tiny]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
- [xxd]Not affected
Source package: [vim]
Details (2)
2:9.0.1378-2+deb12u2· amd64 · bookwormNot affected
dsa · vim · debian · bookworm
2:9.0.1378-2+deb12u2· arm64 · bookwormNot affected
dsa · vim · debian · bookworm
[Debian 13 (Trixie)]
- [vim]Fixed
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-athena]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-common]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-doc]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-gtk3]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-gui-common]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-motif]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-nox]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· amd64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· arm64 · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
- [vim-runtime]Fixed
Source package: [vim]
Details (2)
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
2:9.1.1230-2· all · trixieFixed · Fixed:
2:9.1.1230-1dsa · vim · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-27423]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-27423]
- [https://security-tracker.debian.org/tracker/CVE-2025-27423]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-27423.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0470.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]