Heap-based Buffer Overflow Affecting vim/vim package, versions [,9.1.0697)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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-UNMANAGED-VIMVIM-7833830
  • published27 Aug 2024
  • disclosed26 Aug 2024
  • creditSuyue Guo

Introduced: 26 Aug 2024

CVE-2024-43802  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.1.0697 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in the flush_buffers() function in getchar.c. An attacker may be able to cause a user to trigger a crash by supplying input that returns an error message which flushes the typeahead buffer.

References

CVSS Scores

version 4.0
version 3.1