Advisory

DEBIAN-CVE-2023-46246

Also known as: CVE-2023-46246

Summary

The record has no summary.

Details

Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function ga_grow_inner in in the file src/alloc.c at line 748, which is freed in the file src/ex_docmd.c in the function do_cmdline at line 1010 and then used again in src/cmdhist.c at line 759. When using the :history command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068.

Severity

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

Dates

Published
2023-10-27 19:15 UTC
Modified
2026-10-26 18:01 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.2087-1 (ecosystem)

Fixed versions

2:9.0.2087-1

Fix

  • Fixed version 2:9.0.2087-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.2087-1 (ecosystem)

Fixed versions

2:9.0.2087-1

Fix

  • Fixed version 2:9.0.2087-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