{"schemaVersion":3,"id":"MGASA-2021-0481","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Updated vim packages fix security vulnerability\n\nCVE-2021-3778: vim: Heap-based Buffer Overflow in utf_ptr2char()\nFix: patch 8.2.3409: reading beyond end of line with invalid utf-8 character\nWhen vim 8.2 is built with --with-features=huge --enable-gui=none\nand address sanitizer, a heap-buffer overflow occurs when running:\necho \"Ywp2XTCqCi4KeQpAMA==\" | base64 -d > fuzz000.txt\nvim -u NONE -X -Z -e -s -S fuzz000.txt -c :qa!\n\nCVE-2021-3796: vim: Use After Free in nv_replace()\nFix: patch 8.2.3428: using freed memory when replacing\nWhen vim 8.2 is built with --with-features=huge --enable-gui=none\nand address sanitizer, a use-after-free occurs when running:\nLC_ALL=C vim -U NONE -X -Z -e -s -S poc -c :qa!\nwith the poc file provided.","dates":{"published":"2021-10-20T21:28:32.000Z","modified":"2026-04-16T04:41:36.196Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"mageia","product":"vim","name":"vim","label":"vim","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/vim","purlType":"rpm","versions":[{"text":"< 8.2.2143-3.2.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.2143-3.2.mga8","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://advisories.mageia.org/MGASA-2021-0481.html","label":"advisories.mageia.org/MGASA-2021-0481.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29501","label":"bugs.mageia.org/show_bug.cgi?id=29501","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f","label":"github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f","hostname":"github.com","tags":["WEB"]},{"url":"https://huntr.dev/bounties/d9c17308-2c99-4f9f-a706-f7f72c24c273/","label":"huntr.dev/bounties/d9c17308-2c99-4f9f-a706-f7f72c24c273/","hostname":"huntr.dev","tags":["WEB"]},{"url":"https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3","label":"github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3","hostname":"github.com","tags":["WEB"]},{"url":"https://huntr.dev/bounties/ab60b7f3-6fb1-4ac2-a4fa-4d592e08008d/","label":"huntr.dev/bounties/ab60b7f3-6fb1-4ac2-a4fa-4d592e08008d/","hostname":"huntr.dev","tags":["WEB"]},{"url":"https://ubuntu.com/security/notices/USN-5093-1","label":"ubuntu.com/security/notices/USN-5093-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2021/10/01/1","label":"www.openwall.com/lists/oss-security/2021/10/01/1","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/TE62UMYBZE4AE53K6OBBWK32XQ7544QM/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]}],"lineage":{"upstream":["CVE-2021-3778","CVE-2021-3796"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-10-20T21:28:32.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-16T04:41:36.196Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:26:45.947Z","stale":false,"partial":false}}