Every CVE Search/ Get API key

CVE-2019-20807

In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS...

5.3 MediumFix available

CVE-2019-20807 is a medium vulnerability (CVSS 5.3) in Vim, published May 28, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in vim 2:8.1.2136-1.

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).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.49%Down 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

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).

Record
CVE-2019-20807
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-78
Updated
2026-11-02
CVE List No score

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).

Record
CVE-2019-20807
Updated
2026-11-02
EUVDEUVD-2019-11344 No score

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).

Record
EUVD-2019-11344
Updated
2026-11-03
GitHub AdvisoriesGHSA-f76x-65j4-28x3 5.3

In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS...

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).

Record
GHSA-f76x-65j4-28x3
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-78
Updated
2026-11-02
OSV 5.3

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).

Record
CVE-2019-20807
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2019-20807 5.3

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).

Record
DEBIAN-CVE-2019-20807
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
Show 9 moreShow less
OSVRHSA-2020:4453 5.3

Red Hat Security Advisory: vim security update

Record
RHSA-2020:4453
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRLSA-2020:4453 5.3

Moderate: vim security update

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

  • vim: users can execute arbitrary OS commands via scripting interfaces in the rvim restricted mode (CVE-2019-20807)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.3 Release Notes linked from the References section.

Record
RLSA-2020:4453
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2019-20807 5.3

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).

Record
UBUNTU-CVE-2019-20807
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVopenSUSE-SU-2020:0794-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2019-20807: Fixed an issue where escaping from the restrictive mode of vim was possible using interfaces (bsc#1172225).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2020:0794-1
Updated
2026-11-02
OSVSUSE-SU-2020:14385-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2019-20807: Fixed an issue where escaping from the restrictive mode of vim was possible using interfaces (bsc#1172225).
Record
SUSE-SU-2020:14385-1
Updated
2026-11-02
OSVSUSE-SU-2020:1550-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2019-20807: Fixed an issue where escaping from the restrictive mode of vim was possible using interfaces (bsc#1172225 and bsc#1172031).
Record
SUSE-SU-2020:1550-1
Updated
2026-11-02
OSVSUSE-SU-2020:1551-1 No score

Security update for vim

This update for vim fixes the following issues:

  • CVE-2019-20807: Fixed an issue where escaping from the restrictive mode of vim was possible using interfaces (bsc#1172225).
Record
SUSE-SU-2020:1551-1
Updated
2026-11-02
OSVUSN-4582-1 No score

vim vulnerabilities

It was discovered that Vim incorrectly handled permissions on the .swp file. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-17087)

It was discovered that Vim incorrectly handled restricted mode. A local attacker could possibly use this issue to bypass restricted mode and execute arbitrary commands. Note: This update only makes executing shell commands more difficult. Restricted mode should not be considered a complete security measure. (CVE-2019-20807)

Record
USN-4582-1
Updated
2026-11-02
OSVUSN-5147-1 No score

vim vulnerabilities

It was discovered that Vim incorrectly handled permissions on the .swp file. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087)

It was discovered that Vim incorrectly handled restricted mode. A local attacker could possibly use this issue to bypass restricted mode and execute arbitrary commands. Note: This update only makes executing shell commands more difficult. Restricted mode should not be considered a complete security measure. This issue only affected Ubuntu 14.04 ESM. (CVE-2019-20807)

Brian Carpenter discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. This issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04 and Ubuntu 21.10. (CVE-2021-3872)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3903)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3927)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3928)

Record
USN-5147-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vim
Debian:12
before 2:8.1.2136-1
2:8.1.2136-1
vim
Debian:13
before 2:8.1.2136-1
2:8.1.2136-1
vim
Debian:14
before 2:8.1.2136-1
2:8.1.2136-1
vim
Debian:9
before 2:8.0.0197-4+deb9u4, plus listed versions
2:8.0.0197-42:8.0.0197-4+deb9u12:8.0.0197-4+deb9u22:8.0.0197-4+deb9u3
2:8.0.0197-4+deb9u4
vim-X11
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-X11-debuginfo
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-common
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-common-debuginfo
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-debuginfo
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-debugsource
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
Show 45 moreShow less
Affected packages
PackageAffectedFixed
vim-enhanced
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-enhanced-debuginfo
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-filesystem
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-minimal-debuginfo
Red Hat:enterprise_linux:8::appstream
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-X11-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-common-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-debugsource
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-enhanced-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-minimal
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim-minimal-debuginfo
Red Hat:enterprise_linux:8::baseos
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim
Rocky Linux:8
before 2:8.0.1763-15.el8
2:8.0.1763-15.el8
vim
SUSE:Linux Enterprise Point of Sale 11 SP3
before 7.2-8.21.6.2
7.2-8.21.6.2
vim
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 7.2-8.21.6.2
7.2-8.21.6.2
vim
SUSE:HPE Helion OpenStack 8
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:OpenStack Cloud 7
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:OpenStack Cloud 8
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:OpenStack Cloud Crowbar 8
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP2-BCL
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP3-BCL
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP4
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server 12 SP5
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Enterprise Storage 5
before 7.4.326-17.6.1
7.4.326-17.6.1
vim
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise Module for Desktop Applications 15 SP1
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise Server 15-LTSS
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
SUSE:Linux Enterprise Server for SAP Applications 15
before 8.0.1568-5.6.1
8.0.1568-5.6.1
vim
Ubuntu:Pro:14.04:LTS
before 2:7.4.052-1ubuntu3.1+esm4, plus listed versions
2:7.4.000-1ubuntu22:7.4.052-1ubuntu12:7.4.052-1ubuntu22:7.4.052-1ubuntu32:7.4.052-1ubuntu3.12:7.4.052-1ubuntu3.1+esm12:7.4.052-1ubuntu3.1+esm3
2:7.4.052-1ubuntu3.1+esm4
vim
Ubuntu:16.04:LTS
before 2:7.4.1689-3ubuntu1.5, plus listed versions
2:7.4.712-2ubuntu42:7.4.826-1ubuntu12:7.4.826-1ubuntu22:7.4.826-1ubuntu32:7.4.963-1ubuntu1
Show 7 moreShow less
2:7.4.963-1ubuntu42:7.4.963-1ubuntu52:7.4.1689-3ubuntu12:7.4.1689-3ubuntu1.12:7.4.1689-3ubuntu1.22:7.4.1689-3ubuntu1.32:7.4.1689-3ubuntu1.4
2:7.4.1689-3ubuntu1.5
vim
Ubuntu:18.04:LTS
before 2:8.0.1453-1ubuntu1.4, plus listed versions
2:8.0.0197-4ubuntu52:8.0.1144-1ubuntu12:8.0.1401-1ubuntu12:8.0.1401-1ubuntu22:8.0.1401-1ubuntu32:8.0.1453-1ubuntu12:8.0.1453-1ubuntu1.12:8.0.1453-1ubuntu1.3
2:8.0.1453-1ubuntu1.4
vim
Ubuntu:Pro:16.04:LTS
before 2:7.4.1689-3ubuntu1.5+esm3, plus listed versions
2:7.4.712-2ubuntu42:7.4.826-1ubuntu12:7.4.826-1ubuntu22:7.4.826-1ubuntu32:7.4.963-1ubuntu1
Show 9 moreShow less
2:7.4.963-1ubuntu42:7.4.963-1ubuntu52:7.4.1689-3ubuntu12:7.4.1689-3ubuntu1.12:7.4.1689-3ubuntu1.22:7.4.1689-3ubuntu1.32:7.4.1689-3ubuntu1.42:7.4.1689-3ubuntu1.52:7.4.1689-3ubuntu1.5+esm2
2:7.4.1689-3ubuntu1.5+esm3
vim
Ubuntu:18.04:LTS
before 2:8.0.1453-1ubuntu1.7, plus listed versions
2:8.0.0197-4ubuntu52:8.0.1144-1ubuntu12:8.0.1401-1ubuntu12:8.0.1401-1ubuntu22:8.0.1401-1ubuntu3
Show 5 moreShow less
2:8.0.1453-1ubuntu12:8.0.1453-1ubuntu1.12:8.0.1453-1ubuntu1.32:8.0.1453-1ubuntu1.42:8.0.1453-1ubuntu1.6
2:8.0.1453-1ubuntu1.7
vim
Ubuntu:20.04:LTS
before 2:8.1.2269-1ubuntu5.4, plus listed versions
2:8.1.0875-5ubuntu22:8.1.0875-5ubuntu32:8.1.0875-5ubuntu42:8.1.2269-1ubuntu12:8.1.2269-1ubuntu42:8.1.2269-1ubuntu52:8.1.2269-1ubuntu5.3
2:8.1.2269-1ubuntu5.4
vim
openSUSE:Leap 15.1
before 8.0.1568-lp151.5.6.1
8.0.1568-lp151.5.6.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 29 moreShow less
MoveEnter Open