CVE-2025-27423: Improper Input Validation in Vim

Published Mar 3, 2025
·
Updated

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

Affected Software

3 affected components
vim Vim>=9.1.0858<9.1.1164
vim Vim>=9.1.0858<9.1.1164
NetApp Hci Compute Node

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim tar.vim plugin to a version that resolves this vulnerability.

    Fixed in 9.1.1164Patch Vim patch v9.1.1164

Event History

Mar 3, 2025
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27423?

The severity of CVE-2025-27423 is classified as medium risk due to the potential for code execution when using the tar.vim plugin.

2

How do I fix CVE-2025-27423?

To fix CVE-2025-27423, upgrade Vim to a version greater than 9.1.1164.

3

What versions of Vim are affected by CVE-2025-27423?

Vim versions from 9.1.0858 to 9.1.1164 are affected by CVE-2025-27423.

4

What is the impact of CVE-2025-27423?

The impact of CVE-2025-27423 includes potential unauthorized code execution through manipulated tar files.

5

Is there a workaround for CVE-2025-27423?

A workaround for CVE-2025-27423 is to disable the tar.vim plugin until Vim is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203