CVE Explorer
CVE-2026-52859
Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_snapshot() function in src/terminal.c copies the visible terminal screen into the scrollback buffer when a snapshot is taken. For each screen cell it walks the cell's chars[] array with no upper bound, stopping only when it encounters a NUL terminator. When a cell legitimately fills all VTERM_MAX_CHARS_PER_CELL (6) slots — a base character plus five combining marks — the bundled libvterm returns the array with
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.2.0565"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/vim/vim/commit/63680c6d3d52477817b49cd1a66e7aabe8a7aa19","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/63680c6d3d52477817b49cd1a66e7aabe8a7aa19"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/releases/tag/v9.2.0565","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/releases/tag/v9.2.0565"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/references/2
{"name":"https://github.com/vim/vim/security/advisories/GHSA-47gw-8gc3-mgcm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-47gw-8gc3-mgcm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:289ea23c823e3456ca36462b1614a0cc5f99abafa0585c2f9017f09386217ffe · sha256:9000a80bcbea4902… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.