{"id":"JLSEC-2026-1887","details":"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 \u003c 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 suggestion while a SAL-based spell language is active under a non-multibyte 8-bit encoding, can corrupt the `eval_soundfold()` stack frame and crash the editor. This issue is fixed in version 9.2.0725.","modified":"2026-12-02T14:45:10.544700212Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-59857","EUVD-2026-42751"],"database_specific":{"sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59857","database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0725"]},"id":"CVE-2026-59857","imported":"2026-12-02T14:11:18.593Z","modified":"2026-07-10T19:23:21.923Z","published":"2026-07-09T23:17:06.580Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-59857"},{"imported":"2026-12-02T14:11:19.993Z","modified":"2026-07-10T14:14:40Z","published":"2026-07-09T22:34:54Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-42751","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42751","affected":{"vim:vim":["\u003c 9.2.0725"]},"id":"EUVD-2026-42751"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/d22ff1c955ff87e8273210eae125aab0e85b6c30"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-m3hf-xcm3-xhm2"}],"affected":[{"package":{"name":"Vim_jll","ecosystem":"Julia","purl":"pkg:julia/Vim_jll?uuid=1e82aed4-b73c-514c-b6b0-721e3fbe9c02"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1887.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}