PT-2022-1725 · Vim+11 · Vim+11

Brammool

·

Published

2022-01-18

·

Updated

2024-06-15

·

CVE-2022-0318

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions vim versions prior to 8.2
Description The issue is related to a heap-based buffer overflow in the vim text editor, specifically in the utf head off() function. This overflow can be triggered by exploiting the vulnerability, potentially allowing a remote attacker to cause a buffer overflow. The estimated number of potentially affected devices worldwide is not specified.
Recommendations For versions prior to 8.2, update to version 8.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the utf head off() function in the mbyte.c file until a patch is available.

Exploit

Fix

Memory Corruption

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:0894
ALT-PU-2022-1693
ALT-PU-2022-1711
ALT-PU-2022-1731
ALT-PU-2022-1771
AZL-7836
BDU:2022-00982
CESA-2022_0894
CVE-2022-0318
DLA-3204-1
MGASA-2022-0203
OESA-2022-1514
OPENSUSE-SU-2022:0736-1
OPENSUSE-SU-2022_0736-1
OPENSUSE-SU-2022_2102-1
OPENSUSE-SU-2024:12337-1
RHSA-2022:0894
RHSA-2022_0894
RLSA-2022:0894
SUSE-SU-2022:0736-1
SUSE-SU-2022:0736-2
SUSE-SU-2022:2102-1
SUSE-SU-2022:4619-1
USN-5433-1
USN-6026-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Apple Macos
Red Hat
Rocky Linux
Suse
Ubuntu
Vim