The vendor explicitly identifies these products as affected by this CVE.
- vim-X11 as a component of Red Hat Enterprise Linux 9
- vim-common as a component of Red Hat Enterprise Linux 9
- vim-enhanced as a component of Red Hat Enterprise Linux 9
- vim-filesystem as a component of Red Hat Enterprise Linux 9
- vim-minimal as a component of Red Hat Enterprise Linux 9
- vim.src as a component of Red Hat Enterprise Linux 9
- openshift/ose-rhel-coreos-9 as a component of Red Hat OpenShift Container Platform 4
- Summary
- A flaw in Vim allows an attacker to cause a Denial of Service (DoS) via an application crash. If a user opens a maliciously crafted undo file, an out-of-bounds read is triggered in the get_text_props() function due to missing length validation on property counts.
- Remediation
- Users are advised to avoid opening or processing undo files from untrusted or unknown sources. If your team compiles Vim from source, ensure standard compiler security flags (like -D_FORTIFY_SOURCE=2 or 3) are enabled. This provides a safety net by detecting out-of-bounds reads and safely terminating the application before exploitation can occur.
