Bug 2229797 (CVE-2023-3896)

Summary: CVE-2023-3896 vim: Divide by zero in scroll_cursor_bot
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jburrell, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Vim. When foldcolumn and smoothscrool are on, a divide by zero issue may occur in the scroll_cursor_bot function, causing a program crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-07 18:18:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2229798    
Bug Blocks: 2229799    

Description Pedro Sampaio 2023-08-07 17:21:08 UTC
Divide by zero when scrolling with 'smoothscroll' set in vim/vim from 9.0.1367-1 to 9.0.1367-3

References:

https://github.com/vim/vim/pull/12540
https://github.com/vim/vim/issues/12528

Comment 1 Pedro Sampaio 2023-08-07 17:21:23 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2229798]