{"schemaVersion":3,"id":"CVE-2024-47814","aliases":["ALPINE-CVE-2024-47814","MGASA-2024-0329","UBUNTU-CVE-2024-47814","USN-7131-1","DEBIAN-CVE-2024-47814","CGA-72j4-j9c3-qmjc","CGA-gqcv-5m9q-hrc7"],"status":"published","duplicateOf":null,"title":null,"description":"Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","dates":{"published":"2024-10-07T21:16:01.796Z","modified":"2025-11-03T20:40:54.041Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":3.3,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":3.3,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00294,"percentile":0.20693,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00294},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00294,"percentile":0.20693}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00294,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00294,"percentile":0.20693}]},"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":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"vim","name":"vim","label":"vim","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/vim","purlType":"apk","versions":[{"text":"< 9.1.0936-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.0936-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vim","name":"vim","label":"vim","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vim","purlType":"apk","versions":[{"text":"< 9.1.0766-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.0766-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vim","name":"vim","label":"vim","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vim","purlType":"apk","versions":[{"text":"< 9.1.0766-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.0766-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"vim","name":"vim","label":"vim","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/vim","purlType":"deb","versions":[{"text":"< 2:9.0.1378-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2:9.1.0777-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:9.0.1378-2+deb12u1 | < 2:9.1.0777-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"vim","name":"vim","label":"vim","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vim","purlType":"deb","versions":[{"text":"< 2:7.4.052-1ubuntu3.1+esm20","noFixRecorded":false,"fixedIn":null},{"text":"< 2:7.4.1689-3ubuntu1.5+esm26","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.0.1453-1ubuntu1.13+esm11","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.1.2269-1ubuntu5.29","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.2.3995-1ubuntu2.21","noFixRecorded":false,"fixedIn":null},{"text":"< 2:9.1.0016-1ubuntu7.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:7.4.052-1ubuntu3.1+esm20 | < 2:7.4.1689-3ubuntu1.5+esm26 | < 2:8.0.1453-1ubuntu1.13+esm11 | < 2:8.1.2269-1ubuntu5.29 | < 2:8.2.3995-1ubuntu2.21 | < 2:9.1.0016-1ubuntu7.5","eol":null,"hubHref":null},{"vendor":"mageia","product":"vim","name":"vim","label":"vim","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/vim","purlType":"rpm","versions":[{"text":"< 9.1.771-1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.771-1.mga9","eol":null,"hubHref":null},{"vendor":"netapp","product":"bootstrap_os","name":"bootstrap os","label":"bootstrap_os","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/bootstrap_os"},{"vendor":"vim","product":"vim","name":"vim","label":"vim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< v9.1.0764","noFixRecorded":false,"fixedIn":null},{"text":"< 9.1.0764","noFixRecorded":false,"fixedIn":null}],"versionsText":"< v9.1.0764 | < 9.1.0764","eol":null,"hubHref":"/vendor/vim/vim"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg","label":"github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","Vendor Advisory"]},{"url":"https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3","label":"github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3","hostname":"github.com","tags":["X Refsource MISC","FIX","Patch"]},{"url":"https://security.netapp.com/advisory/ntap-20250411-0009/","label":"security.netapp.com/advisory/ntap-20250411-0009/","hostname":"security.netapp.com","tags":["Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html","label":"lists.debian.org/debian-lts-announce/2025/03/msg00023.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-47814","label":"security.alpinelinux.org/vuln/CVE-2024-47814","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0329.html","label":"advisories.mageia.org/MGASA-2024-0329.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33626","label":"bugs.mageia.org/show_bug.cgi?id=33626","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2024/10/06/1","label":"www.openwall.com/lists/oss-security/2024/10/06/1","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-47814","label":"ubuntu.com/security/CVE-2024-47814","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-47814","label":"www.cve.org/CVERecord?id=CVE-2024-47814","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7131-1","label":"ubuntu.com/security/notices/USN-7131-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-47814","label":"security-tracker.debian.org/tracker/CVE-2024-47814","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47814.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47814.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47814","label":"nvd.nist.gov/vuln/detail/CVE-2024-47814","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["DLA-4097-1","SUSE-SU-2024:4330-1","SUSE-SU-2024:4409-1","SUSE-SU-2025:20128-1"],"duplicates":[],"related":["CGA-FQQR-WFX8-GQWW","SUSE-SU-2024:4330-1","SUSE-SU-2024:4409-1","SUSE-SU-2025:20128-1"]},"timeline":[{"kind":"published","date":"2024-10-07T21:16:01.796Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T20:40:54.041Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:34:15.849Z","stale":false,"partial":false}}