Bug 2246543 - vim: integer overflow in :history command
Summary: vim: integer overflow in :history command
Keywords:
Status: CLOSED DUPLICATE of bug 2246953
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2246544
TreeView+ depends on / blocked
 
Reported: 2023-10-27 11:03 UTC by TEJ RATHI
Modified: 2023-12-11 15:35 UTC (History)
0 users

Fixed In Version: vim 9.0.2068
Clone Of:
Environment:
Last Closed: 2023-12-11 15:35:25 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-10-27 11:03:11 UTC
When using the :history ex-command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free.

https://github.com/vim/vim/security/advisories/GHSA-q22m-h7m2-9mgm
https://github.com/vim/vim/commit/9198c1f2b1ddecde22af918541e0de2a32f0f45a
https://seclists.org/oss-sec/2023/q4/186

Comment 2 Marian Rehak 2023-12-11 15:35:25 UTC

*** This bug has been marked as a duplicate of bug 2246953 ***


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