CVE-2026-57451
Vim: Out-of-bounds Read in Text Property Count
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.3
Vim: Out-of-bounds Read in Text Property Count
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.
- Record
CVE-2026-57451- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2026-39449
5.3
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.
- Record
EUVD-2026-39449- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2026-57451- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-57451
6.1
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.
- Record
ALPINE-CVE-2026-57451- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2026-57451
6.1
- Record
BELL-CVE-2026-57451- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSV
5.3
Vim: Out-of-bounds Read in Text Property Count
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.
- Record
CVE-2026-57451- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2026-57451
6.1
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.
- Record
DEBIAN-CVE-2026-57451- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2026:57614
8.2
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:57614- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-57451
5.3
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.
- Record
UBUNTU-CVE-2026-57451- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVAZL-91116 No score
CVE-2026-57451 affecting package vim for versions less than 9.2.0735-1
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.
- Record
AZL-91116- Updated
- 2026-11-02
OSVMGASA-2026-0240 No score
Updated vim packages fix security vulnerabilities
The updated packages fix security vulnerabilities: Arbitrary Code Execution via Python Omni-Completion in Vim < 9.2.0561. (CVE-2026-52858) Out-of-bounds Read in Terminal Screen Snapshot in Vim < 9.2.0565. (CVE-2026-52859) Arbitrary Code Execution via Python Omni-Completion in Vim < 9.2.0597. (CVE-2026-52860) Out-of-bounds Write in Spell File Word Count in Vim < 9.2.0653. (CVE-2026-55693) Out-of-bounds Write in Spell File Prefix Dump in Vim < 9.2.0662. (CVE-2026-55892) Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename affects Vim < 9.2.0663. (CVE-2026-55895) Out-of-bounds Read in Text Property Count in Vim < 9.2.0670. (CVE-2026-57451) Out-of-bounds Read with libsodium-encrypted Files in Vim < 9.2.0671. (CVE-2026-57452) PowerShell Command Injection in zip.vim via Crafted Archive Entry Names in Vim > 9.1.1783 && Vim < 9.2.0678. (CVE-2026-57453) Out-of-bounds Read with Text Properties in Vim >= 9.2.0320 && Vim < 9.2.0679. (CVE-2026-57454) Out-of-bounds Write in SOFO Soundfolding in Vim < 9.2.0698. (CVE-2026-57455) Arbitrary Code Execution via Python Omni-Completion Docstrings in Vim < 9.2.0699. (CVE-2026-57456)
- Record
MGASA-2026-0240- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vimAlpine:v3.23 |
before 9.2.0854-r0 | 9.2.0854-r0 |
vimAlpine:v3.24 |
before 9.2.0677-r0 | 9.2.0677-r0 |
vimAzure Linux:3 |
before 9.2.0735-1 | 9.2.0735-1 |
vimAlpaquita:23 |
9.0.0820-r2 up to 9.2.0747-r0 | 9.2.0747-r0 |
vimAlpaquita:25 |
9.1.1415-r0 up to 9.2.0747-r0 | 9.2.0747-r0 |
vimAlpaquita:stream |
9.0.1395-r0 up to 9.2.0699-r0 | 9.2.0699-r0 |
vimDebian:14 |
before 2:9.2.0782-1, plus listed versions 2:9.1.1230-22:9.1.1385-12:9.1.1766-12:9.1.1829-12:9.1.1846-1 Show 12 moreShow less2:9.1.1882-12:9.1.2103-12:9.1.2141-12:9.2.0119-12:9.2.0136-12:9.2.0218-12:9.2.0315-12:9.2.0338-12:9.2.0355-12:9.2.0428-12:9.2.0461-12:9.2.0524-1 |
2:9.2.0782-1 |
vimMageia:10 From an advisory covering 12 CVEs |
before 9.2.782-1.mga10 | 9.2.782-1.mga10 |
vimMageia:9 From an advisory covering 12 CVEs |
before 9.2.782-1.mga9 | 9.2.782-1.mga9 |
vimRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
vim-X11Red Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-commonRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-dataRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-default-editorRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-enhancedRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-filesystemRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
vim-minimalRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
xxdRed Hat:hummingbird:1 From an advisory covering 17 CVEs |
before 0:9.2.967-1.1.hum1 | 0:9.2.967-1.1.hum1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-57451 is a medium vulnerability (CVSS 5.3) in Vim, published June 25, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.16%, the 5th percentile. Fixed in vim 9.2.0854-r0.
References
github.com/vim/vim/security/advisories/GHSA-f36c-2qcp-7gpw
github.com/vim/vim/commit/b2338ca90643e2f01ecb6547c1172716aaec4f79
github.com/vim/vim/releases/tag/v9.2.0670
security.alpinelinux.org/vuln/CVE-2026-57451
nvd.nist.gov/vuln/detail/CVE-2026-57451
docs.bell-sw.com/security/cves/CVE-2026-57451
Show 147 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57451.json
security-tracker.debian.org/tracker/CVE-2026-57451
advisories.mageia.org/MGASA-2026-0240.html
bugs.mageia.org/show_bug.cgi?id=35580
openwall.com/lists/oss-security/2026/05/22/13
github.com/vim/vim/security/advisories/GHSA-3h95-3962-mmvf
openwall.com/lists/oss-security/2026/05/29/5
github.com/vim/vim/security/advisories/GHSA-52mc-rq6p-rc7c
openwall.com/lists/oss-security/2026/05/30/4
github.com/vim/vim/security/advisories/GHSA-47gw-8gc3-mgcm
openwall.com/lists/oss-security/2026/06/04/14
github.com/vim/vim/security/advisories/GHSA-65p9-mwwx-7468
openwall.com/lists/oss-security/2026/06/15/8
github.com/vim/vim/security/advisories/GHSA-wgh4-64f7-q3jq
openwall.com/lists/oss-security/2026/06/16/12
github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h
openwall.com/lists/oss-security/2026/06/16/13
github.com/vim/vim/security/advisories/GHSA-vhh8-v6wx-hjjh
openwall.com/lists/oss-security/2026/06/17/10
openwall.com/lists/oss-security/2026/06/18/7
github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486
openwall.com/lists/oss-security/2026/06/20/2
github.com/vim/vim/security/advisories/GHSA-x5fg-h5w9-9frf
openwall.com/lists/oss-security/2026/06/20/3
github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w
openwall.com/lists/oss-security/2026/06/21/1
github.com/vim/vim/security/advisories/GHSA-q8mh-6qm3-25g4
openwall.com/lists/oss-security/2026/06/21/2
github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3
openwall.com/lists/oss-security/2026/06/24/9
github.com/vim/vim/security/advisories/GHSA-m3hf-xcm3-xhm2
openwall.com/lists/oss-security/2026/06/27/6
github.com/vim/vim/security/advisories/GHSA-mf92-v4xw-j45x
openwall.com/lists/oss-security/2026/06/28/1
github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97
access.redhat.com/errata/RHSA-2026:57614
images.redhat.com
access.redhat.com/security/cve/CVE-2026-73073
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2026-57451
access.redhat.com/security/cve/CVE-2026-57453
access.redhat.com/security/cve/CVE-2026-57454
access.redhat.com/security/cve/CVE-2026-52860
access.redhat.com/security/cve/CVE-2026-52858
access.redhat.com/security/cve/CVE-2026-52859
access.redhat.com/security/cve/CVE-2026-47167
access.redhat.com/security/cve/CVE-2026-47162
access.redhat.com/security/cve/CVE-2026-46483
access.redhat.com/security/cve/CVE-2026-45130
access.redhat.com/security/cve/CVE-2026-44656
access.redhat.com/security/cve/CVE-2026-43961
access.redhat.com/security/cve/CVE-2026-41411
access.redhat.com/security/cve/CVE-2026-35177
access.redhat.com/security/cve/CVE-2026-34982
access.redhat.com/security/cve/CVE-2026-39881
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_57614.json
bugzilla.redhat.com/show_bug.cgi?id=2455400
cve.org/CVERecord?id=CVE-2026-34982
nvd.nist.gov/vuln/detail/CVE-2026-34982
openwall.com/lists/oss-security/2026/04/01/1
github.com/vim/vim/commit/75661a66a1db1e1f3f1245c615
github.com/vim/vim/releases/tag/v9.2.0276
github.com/vim/vim/security/advisories/GHSA-8h6p-m6gr-mpw9
bugzilla.redhat.com/show_bug.cgi?id=2455542
cve.org/CVERecord?id=CVE-2026-35177
nvd.nist.gov/vuln/detail/CVE-2026-35177
github.com/vim/vim/security/advisories/GHSA-jc86-w7vm-8p24
bugzilla.redhat.com/show_bug.cgi?id=2456722
cve.org/CVERecord?id=CVE-2026-39881
nvd.nist.gov/vuln/detail/CVE-2026-39881
github.com/vim/vim/commit/7ab76a86048ed492374ac6b19
github.com/vim/vim/releases/tag/v9.2.0316
github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6
bugzilla.redhat.com/show_bug.cgi?id=2461614
cve.org/CVERecord?id=CVE-2026-41411
nvd.nist.gov/vuln/detail/CVE-2026-41411
github.com/vim/vim/commit/c78194e41d5a0b05b0ddf383b6679b1503f977fb
github.com/vim/vim/releases/tag/v9.2.0357
github.com/vim/vim/security/advisories/GHSA-cwgx-gcj7-6qh8
bugzilla.redhat.com/show_bug.cgi?id=2460434
cve.org/CVERecord?id=CVE-2026-43961
nvd.nist.gov/vuln/detail/CVE-2026-43961
github.com/vim/vim/security/advisories/GHSA-66hr-7p6x-x5j3
bugzilla.redhat.com/show_bug.cgi?id=2468420
cve.org/CVERecord?id=CVE-2026-44656
nvd.nist.gov/vuln/detail/CVE-2026-44656
github.com/vim/vim/commit/190cb3c2b9c769a3972bcfd991a7b5b6cb771ef0
github.com/vim/vim/releases/tag/v9.2.0435
github.com/vim/vim/security/advisories/GHSA-hwg5-3cxw-wvvg
bugzilla.redhat.com/show_bug.cgi?id=2468422
cve.org/CVERecord?id=CVE-2026-45130
nvd.nist.gov/vuln/detail/CVE-2026-45130
github.com/vim/vim/commit/92993329178cb1f72d700fff45ca86e1c2d369f8
github.com/vim/vim/releases/tag/v9.2.0450
github.com/vim/vim/security/advisories/GHSA-q4jv-r9gj-6cwv
bugzilla.redhat.com/show_bug.cgi?id=2477915
cve.org/CVERecord?id=CVE-2026-46483
nvd.nist.gov/vuln/detail/CVE-2026-46483
github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1
github.com/vim/vim/releases/tag/v9.2.0479
github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w
bugzilla.redhat.com/show_bug.cgi?id=2487964
cve.org/CVERecord?id=CVE-2026-47162
nvd.nist.gov/vuln/detail/CVE-2026-47162
github.com/vim/vim/commit/f08ab2f4d7d2947c8dd6c179ae08ee6146a2694b
github.com/vim/vim/releases/tag/v9.2.0495
github.com/vim/vim/security/advisories/GHSA-crm5-rh6j-2c7c
bugzilla.redhat.com/show_bug.cgi?id=2487996
cve.org/CVERecord?id=CVE-2026-47167
nvd.nist.gov/vuln/detail/CVE-2026-47167
github.com/vim/vim/commit/a65a52d684bc58535ad28a4ae824d22e76399934
github.com/vim/vim/releases/tag/v9.2.0496
github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9
bugzilla.redhat.com/show_bug.cgi?id=2487981
cve.org/CVERecord?id=CVE-2026-52858
nvd.nist.gov/vuln/detail/CVE-2026-52858
github.com/vim/vim/commit/4b850457e12e1a678dd209f2868154f7553cbf8d
github.com/vim/vim/releases/tag/v9.2.0561
bugzilla.redhat.com/show_bug.cgi?id=2487989
cve.org/CVERecord?id=CVE-2026-52859
nvd.nist.gov/vuln/detail/CVE-2026-52859
github.com/vim/vim/commit/63680c6d3d52477817b49cd1a66e7aabe8a7aa19
github.com/vim/vim/releases/tag/v9.2.0565
bugzilla.redhat.com/show_bug.cgi?id=2487987
cve.org/CVERecord?id=CVE-2026-52860
nvd.nist.gov/vuln/detail/CVE-2026-52860
github.com/vim/vim/commit/c8c63673bc4253212820626aeeb75999d9a539d2
github.com/vim/vim/releases/tag/v9.2.0597
bugzilla.redhat.com/show_bug.cgi?id=2492978
cve.org/CVERecord?id=CVE-2026-57451
bugzilla.redhat.com/show_bug.cgi?id=2492967
cve.org/CVERecord?id=CVE-2026-57453
nvd.nist.gov/vuln/detail/CVE-2026-57453
github.com/vim/vim/commit/b2cc9be119d51212bf0d3f2a99
github.com/vim/vim/releases/tag/v9.2.0678
bugzilla.redhat.com/show_bug.cgi?id=2492977
cve.org/CVERecord?id=CVE-2026-57454
nvd.nist.gov/vuln/detail/CVE-2026-57454
github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949
github.com/vim/vim/releases/tag/v9.2.0679
bugzilla.redhat.com/show_bug.cgi?id=2517950
cve.org/CVERecord?id=CVE-2026-73073
nvd.nist.gov/vuln/detail/CVE-2026-73073
github.com/vim/vim/commit/2f628d8104958fa7421664f792ca6d4f7a39a10f
github.com/vim/vim/releases/tag/v9.2.0845
github.com/vim/vim/security/advisories/GHSA-cx73-phcg-3j5g
ubuntu.com/security/CVE-2026-57451