{"id":"CVE-2026-8997","aliases":["CVE-2026-8997"],"related":[],"kind":"vulnerability","state":"published","title":"Heap Buffer Overflow in vifm","summary":"vifm is vulnerable to a heap buffer overflow during the history merge process when saving the state file (vifminfo.json). This flaw occurs because the application lacks a runtime check on the length of history entries in release builds, potentially allowing a crafted long path or command in the history to cause memory corruption or application crashes.\nReleases from 0.12.1 to 0.14.3 (including) are considered vulnerable. This issue was fixed in commit 23063c7","summarySource":"cvelist","descriptions":[{"lang":"en","text":"vifm is vulnerable to a heap buffer overflow during the history merge process when saving the state file (vifminfo.json). This flaw occurs because the application lacks a runtime check on the length of history entries in release builds, potentially allowing a crafted long path or command in the history to cause memory corruption or application crashes.\nReleases from 0.12.1 to 0.14.3 (including) are considered vulnerable. This issue was fixed in commit 23063c7","source":"cvelist"},{"lang":"es","text":"vifm es vulnerable a un desbordamiento de búfer en el heap durante el proceso de fusión del historial al guardar el archivo de estado (vifminfo.json). Esta falla ocurre porque la aplicación carece de una verificación en tiempo de ejecución de la longitud de las entradas del historial en las compilaciones de lanzamiento, lo que podría permitir que una ruta o comando largo y malintencionado en el historial cause corrupción de memoria o fallos de la aplicación.\nLas versiones desde la 0.12.1 hasta la 0.14.3 (inclusive) se consideran vulnerables. Este problema se solucionó en el commit 23063c7","source":"nvd"}],"published":"2026-05-22T13:26:17.904Z","modified":"2026-07-23T16:10:00.137Z","severity":{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"0.12.1","lastAffected":"0.14.3","status":"affected"}],"vendor":"vifm","product":"vifm","repo":"https://github.com/vifm/vifm/","source":"cvelist"}],"references":[{"url":"https://cert.pl/en/posts/2026/05/CVE-2026-8997","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vifm/vifm/commit/23063c741f15a85621fd232dfc3ac5b779f6910d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE)","Marcin Wyczechowski (AFINE)"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-22T15:03:15.382Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8997","url":"https://www.cve.org/CVERecord?id=CVE-2026-8997","licence":"CVE Terms of Use","modified":"2026-05-22T15:03:29.811Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8997","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8997","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.178Z","epss":{"score":0.0014,"percentile":0.03603,"date":"2026-12-02T12:00:21.000Z"}}