Bug 1427944 (CVE-2017-6349) - CVE-2017-6349 vim: Integer overflow at a u_read_undo memory allocation site
Summary: CVE-2017-6349 vim: Integer overflow at a u_read_undo memory allocation site
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-6349
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1427946
TreeView+ depends on / blocked
 
Reported: 2017-03-01 14:55 UTC by Andrej Nemec
Modified: 2019-09-29 14:07 UTC (History)
5 users (show)

Fixed In Version: vim 8.0.0378
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw was found in the way vim handled undo files. This bug could result in vim crashing when trying to process corrupted undo files.
Clone Of:
Environment:
Last Closed: 2017-03-06 07:17:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-03-01 14:55:33 UTC
An integer overflow at a u_read_undo memory allocation site would occur for vim, as it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer overflows.

Upstream bug:

https://groups.google.com/forum/#!topic/vim_dev/QPZc0CY9j3Y

Upstream patch:

https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c


Note You need to log in before you can comment on or make changes to this bug.