Bug 2122137 (CVE-2022-2849) - CVE-2022-2849 vim: heap-based buffer overflow in latin_ptr2len() at src/mbyte.c
Summary: CVE-2022-2849 vim: heap-based buffer overflow in latin_ptr2len() at src/mbyte.c
Keywords:
Status: NEW
Alias: CVE-2022-2849
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2122138 2125324 2125325
Blocks: 2122143
TreeView+ depends on / blocked
 
Reported: 2022-08-29 10:27 UTC by TEJ RATHI
Modified: 2023-07-07 08:34 UTC (History)
4 users (show)

Fixed In Version: vim 9.0.0220
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-08-29 10:27:56 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0220.

https://huntr.dev/bounties/389aeccd-deb9-49ae-9b6a-24c12d79b02e
https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2

Comment 1 TEJ RATHI 2022-08-29 10:28:15 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2122138]

Comment 2 Zack Miele 2022-09-08 15:54:01 UTC
latin_ptr2len and dbcs_ptr2len in mbyte.c can return null values for byte lengths.


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