Advisory

RLSA-2022:5813

Also known as: CVE-2022-1785, CVE-2022-1897, CVE-2022-1927

Summary

Moderate: vim security update

Details

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

  • vim: Out-of-bounds Write (CVE-2022-1785)
  • vim: out-of-bounds write in vim_regsub_both() in regexp.c (CVE-2022-1897)
  • vim: buffer over-read in utf_ptr2char() in mbyte.c (CVE-2022-1927)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-08-02 06:59 UTC
Modified
2026-02-05 10:15 UTC

Affected packages and fixes

vim

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 2:8.0.1763-19.el8_6.4 (ecosystem)

Fixed versions

2:8.0.1763-19.el8_6.4

Fix

  • Fixed version 2:8.0.1763-19.el8_6.4
    sudo dnf upgrade vim-2:8.0.1763-19.el8_6.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences