CVE catalog

CVE-2026-57451

Vim is an open source, command line text editor. Prior to 9.2.0670, get_text_props() in src/textprop.c reads a uint16 property count stored inline after a line's text and returns it as the number of 3

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

Vim is an open source, command line text editor. Prior to 9.2.0670, get_text_props() in src/textprop.c reads a uint16 property count stored inline after a line's text and returns it as the number of 32-byte textprop_T entries that follow. The only check is a floor that guarantees room for a single entry; the count is never checked against the amount of data actually present. A line that declares a large count while carrying little data causes consumers to read far past the end of the line buffer. Such a line can be delivered through a crafted undo file, leading to a crash. This vulnerability is fixed in 9.2.0670.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianvimsid2:9.2.0858-1fixed
Debianvimforky2:9.2.0858-1fixed
Debianvimtrixie2:9.1.1230-2not affected
Debianvimbookworm2:9.0.1378-2+deb12u2not affected
CpevimNot reported9.2.0670fixed
Alpinevim3.239.2.0854-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianvimsourcesid2:9.2.0782-1not yet assignedNot reported[1140775]
Debianvimsourceforky2:9.2.0782-1not yet assignedNot reported[1140775]
DebianvimsourcetrixieNot affectedunimportantNot reported[1140775]
DebianvimsourcebookwormNot affectedunimportantNot reported[1140775]
CpevimcpeNot reported9.2.0670Not reportedNot reportedNot reported
Alpinevimapk3.239.2.0854-r0Not reportedALPINE-CVE-2026-57451Not reported

[Debian bug #1140775]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [vim]Not affected
    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-athena]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-common]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-doc]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-gtk3]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-gui-common]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-motif]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-nox]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-runtime]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · all · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [vim-tiny]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

  • [xxd]Not affected

    Source package: [vim]

    Details (2)
    • 2:9.0.1378-2+deb12u2 · amd64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

    • 2:9.0.1378-2+deb12u2 · arm64 · bookworm

      Not affected

      nvd · vim · debian · bookworm

Observed:

References