Skip to content

Floating point Exception in adjust_plines_for_skipcol()

Low
chrisbra published GHSA-f6cx-x634-hqpw Nov 16, 2023

Package

Vim (Vim)

Affected versions

< v9.0.2107

Patched versions

v9.0.2107

Description

Floating point Exception in adjust_plines_for_skipcol()

Date: 16.11.2023
Severity: Low

A floating point exception may occur when calculating the line offset for overlong
lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag.

This may happen when a window border is present and when the wrapped line continues
on the next physical line directly in the window border because the 'cpo' setting includes
the 'n' flag.

Impact is rather low, since we do not expect many users to have those non-default setting
set.

The Vim project would like to thank Fabian Toepfer for reporting this issue
which is now fixed in Vim patch 9.0.2107.

Severity

Low
3.9
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

CVE ID

CVE-2023-48232

Weaknesses

No CWEs