Advisory

DEBIAN-CVE-2023-48706

Also known as: CVE-2023-48706

Summary

The record has no summary.

Details

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a :s command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive :s call causes free-ing of memory which may later then be accessed by the initial :s command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.

Severity

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

Dates

Published
2023-11-22 22:15 UTC
Modified
2026-10-26 18:03 UTC

Affected packages and fixes

vim

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

vim

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2:9.0.2189-1 (ecosystem)

Fixed versions

2:9.0.2189-1

Fix

  • Fixed version 2:9.0.2189-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

vim

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2:9.0.2189-1 (ecosystem)

Fixed versions

2:9.0.2189-1

Fix

  • Fixed version 2:9.0.2189-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences