In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute…
Priority LOW 25CWE-78Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Python, Ruby, or Lua).
Why it matters now
EPSS 0.00488 42nd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* | before 8.1.0881 | Vulnerable | vim |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:apple:mac_os_x:10.13.6:*:*:*:*:*:*:* | 10.13.6 | Vulnerable | Apple |
| cpe:2.3:o:apple:mac_os_x:10.14.6:*:*:*:*:*:*:* | 10.14.6 | Vulnerable | Apple |
| cpe:2.3:a:starwindsoftware:command_center:2:build_6003:*:*:*:*:*:* | 2 build_6003 | Vulnerable | Starwindsoftware |
| cpe:2.3:a:starwindsoftware:san_\&_nas:1.0:update_1:*:*:*:*:*:* | 1.0 update_1 | Vulnerable | Starwindsoftware |
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* Versions before 8.1.0881 Vulnerable ·vim
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:apple:mac_os_x:10.13.6:*:*:*:*:*:*:* Versions 10.13.6 Vulnerable ·Apple
- cpe:2.3:o:apple:mac_os_x:10.14.6:*:*:*:*:*:*:* Versions 10.14.6 Vulnerable ·Apple
- cpe:2.3:a:starwindsoftware:command_center:2:build_6003:*:*:*:*:*:* Versions 2 build_6003 Vulnerable ·Starwindsoftware
- cpe:2.3:a:starwindsoftware:san_\&_nas:1.0:update_1:*:*:*:*:*:* Versions 1.0 update_1 Vulnerable ·Starwindsoftware
Remediation
Red Hat 1 advisory
- RHSA-2020:4453 Released 2020-11-04 · Red Hat rating Moderatevim security update
- Red Hat Enterprise Linux AppStream (v. 8) vim-X11-2:8.0.1763-15.el8, vim-common-2:8.0.1763-15.el8, vim-enhanced-2:8.0.1763-15.el8 +1
- Red Hat Enterprise Linux BaseOS (v. 8) vim-2:8.0.1763-15.el8, vim-minimal-2:8.0.1763-15.el8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:4453 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:4453 |
Timeline
- 2026-10-02 Threatist record created from CVE-2019-20807
- 2026-10-03 Alias added: GHSA-f76x-65j4-28x3
References
Advisory 7
- https://github.com/vim/vim/releases/tag/v8.1.0881
- openSUSE-SU-2020:0794
- https://support.apple.com/kb/HT211289
- 20200717 APPLE-SA-2020-07-15-2 macOS Catalina 10.15.6, Security Update 2020-004 Mojave, Security Update 2020-004 High Sierra
- USN-4582-1
- [debian-lts-announce] 20220110 [SECURITY] [DLA 2876-1] vim security update
- https://www.starwindsoftware.com/security/sw-20220812-0003/
Sources
- CVE-2019-20807 · CVE Program
- CVE-2019-20807 · NVD
- FIRST EPSS
- GHSA-f76x-65j4-28x3 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-20807 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences