CVE Vulnerabilities

CVE-2023-48231

Use After Free

Published: Nov 16, 2023 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
4.3 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit 25aabc2b which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Vim Vim * 9.0.2106 (excluding)
Vim Ubuntu bionic *
Vim Ubuntu devel *
Vim Ubuntu esm-infra-legacy/trusty *
Vim Ubuntu esm-infra/bionic *
Vim Ubuntu esm-infra/focal *
Vim Ubuntu esm-infra/xenial *
Vim Ubuntu focal *
Vim Ubuntu jammy *
Vim Ubuntu lunar *
Vim Ubuntu mantic *
Vim Ubuntu trusty *
Vim Ubuntu trusty/esm *
Vim Ubuntu xenial *

Potential Mitigations

References