Advisory

ALSA-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

Not rated by the source.

Dates

Published
2022-08-03 00:00 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

vim-X11

RPM packages (rpm) · AlmaLinux 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-X11-2:8.0.1763-19.el8_6.4

vim-common

RPM packages (rpm) · AlmaLinux 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-common-2:8.0.1763-19.el8_6.4

vim-enhanced

RPM packages (rpm) · AlmaLinux 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-enhanced-2:8.0.1763-19.el8_6.4

vim-filesystem

RPM packages (rpm) · AlmaLinux 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-filesystem-2:8.0.1763-19.el8_6.4

vim-minimal

RPM packages (rpm) · AlmaLinux 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-minimal-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: AlmaLinux OSV database · MIT

Sources & licences