Bug 2494980 - CVE-2026-57451 vim: Vim: Denial of service via crafted undo file [fedora-all]
Summary: CVE-2026-57451 vim: Vim: Denial of service via crafted undo file [fedora-all]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["44b0eb0b-32b9-4267-be85-3...
Depends On:
Blocks: CVE-2026-57451
TreeView+ depends on / blocked
 
Reported: 2026-06-30 14:53 UTC by Srikanth Balasubramanian
Modified: 2026-06-30 14:58 UTC (History)
3 users (show)

Fixed In Version: vim-9.2.725-1.fc43, vim-9.2.725-1.fc44, vim-9.2.725-1.fc45
Clone Of:
Environment:
Last Closed: 2026-06-30 14:58:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-06-30 14:53:59 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Vim is an open source, command line text editor. Prior to 9.2.0670, get_text_props() in src/textprop.c reads a uint16 property count stored inline after a line's text and returns it as the number of 32-byte textprop_T entries that follow. The only check is a floor that guarantees room for a single entry; the count is never checked against the amount of data actually present. A line that declares a large count while carrying little data causes consumers to read far past the end of the line buffer. Such a line can be delivered through a crafted undo file, leading to a crash. This vulnerability is fixed in 9.2.0670.


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