Heap-based Buffer Overflow Affecting vim package, versions <2:9.1.2141-1ubuntu2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-VIM-16238262
  • published24 Apr 2026
  • disclosed27 Feb 2026

Introduced: 27 Feb 2026

CVE-2026-28420  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 vim to version 2:9.1.2141-1ubuntu2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim package and not the vim package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-based buffer overflow WRITE and an out-of-bounds READ exist in Vim's terminal emulator when processing maximum combining characters from Unicode supplementary planes. Version 9.2.0076 fixes the issue.

CVSS Base Scores

version 3.1