Incorrect Calculation of Multi-Byte String Length Affecting vim-debugsource package, versions <2:9.2.240-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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-AMZN2023-VIMDEBUGSOURCE-16067263
  • published15 Apr 2026
  • disclosed27 Feb 2026

Introduced: 27 Feb 2026

CVE-2026-28422  (opens in a new tab)
CWE-135  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 vim-debugsource to version 2:9.2.240-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1539.

NVD Description

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

Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buffer-overflow occurs in build_stl_str_hl() when rendering a statusline with a multi-byte fill character on a very wide terminal. Version 9.2.0078 patches the issue.

CVSS Base Scores

version 3.1