CVE Explorer
CVE-2026-59857
Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte branch of spell_soundfold_sal() in src/spell.c translates a word through a spell file's SAL sound-folding rules into a caller-owned result buffer, but its result writes are guarded with reslen < MAXWLEN, allowing reslen to reach MAXWLEN before res[reslen] = NUL writes one byte past the end of the MAXWLEN-element stack buffer. A boundary-length word passed to soundfold(), or reached via sound-based spell suggestio
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.0725"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:23e72fcdb66cd65683acc6f4a110bb925fa20129eac6761759208a916e28ca4f · sha256:3864957c9f618d9f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.6,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:23e72fcdb66cd65683acc6f4a110bb925fa20129eac6761759208a916e28ca4f · sha256:3864957c9f618d9f… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:23e72fcdb66cd65683acc6f4a110bb925fa20129eac6761759208a916e28ca4f · sha256:3864957c9f618d9f… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/vim/vim/commit/d22ff1c955ff87e8273210eae125aab0e85b6c30","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/d22ff1c955ff87e8273210eae125aab0e85b6c30"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:23e72fcdb66cd65683acc6f4a110bb925fa20129eac6761759208a916e28ca4f · sha256:3864957c9f618d9f… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/security/advisories/GHSA-m3hf-xcm3-xhm2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-m3hf-xcm3-xhm2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:23e72fcdb66cd65683acc6f4a110bb925fa20129eac6761759208a916e28ca4f · sha256:3864957c9f618d9f… · /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.