Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution l...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSvim |
< 2:7.4.052-1ubuntu3.1+esm23→ 2:7.4.052-1ubuntu3.1+esm23 |
2:7.4.052-1ubuntu3.1+esm23 |
| Ubuntu:Pro:16.04:LTSvim |
< 2:7.4.1689-3ubuntu1.5+esm29→ 2:7.4.1689-3ubuntu1.5+esm29 |
2:7.4.1689-3ubuntu1.5+esm29 |
| Ubuntu:Pro:18.04:LTSvim |
< 2:8.0.1453-1ubuntu1.13+esm14→ 2:8.0.1453-1ubuntu1.13+esm14 |
2:8.0.1453-1ubuntu1.13+esm14 |
| Ubuntu:Pro:20.04:LTSvim |
< 2:8.1.2269-1ubuntu5.32+esm2→ 2:8.1.2269-1ubuntu5.32+esm2 |
2:8.1.2269-1ubuntu5.32+esm2 |
| Ubuntu:22.04:LTSvim |
< 2:8.2.3995-1ubuntu2.26→ 2:8.2.3995-1ubuntu2.26 |
2:8.2.3995-1ubuntu2.26 |
| Ubuntu:24.04:LTSvim |
< 2:9.1.0016-1ubuntu7.10→ 2:9.1.0016-1ubuntu7.10 |
2:9.1.0016-1ubuntu7.10 |
| Ubuntu:25.10vim |
< 2:9.1.0967-1ubuntu6.1→ 2:9.1.0967-1ubuntu6.1 |
2:9.1.0967-1ubuntu6.1 |
Original description The description as published by the source.
Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report github.com