Описание
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error c...
Релиз | Статус | Примечание |
---|---|---|
devel | released | 2:9.1.0496-1ubuntu6 |
esm-infra-legacy/trusty | not-affected | 2:7.4.052-1ubuntu3.1+esm19 |
esm-infra/bionic | released | 2:8.0.1453-1ubuntu1.13+esm10 |
esm-infra/focal | not-affected | 2:8.1.2269-1ubuntu5.25 |
esm-infra/xenial | released | 2:7.4.1689-3ubuntu1.5+esm25 |
focal | released | 2:8.1.2269-1ubuntu5.25 |
jammy | released | 2:8.2.3995-1ubuntu2.19 |
noble | released | 2:9.1.0016-1ubuntu7.3 |
oracular | released | 2:9.1.0496-1ubuntu6 |
trusty/esm | released | 2:7.4.052-1ubuntu3.1+esm19 |
Показывать по
Ссылки на источники
EPSS
4.5 Medium
CVSS3
Связанные уязвимости
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error c...
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error cond
Vim is an improved version of the unix vi text editor. When flushing t ...
EPSS
4.5 Medium
CVSS3