{"id":"CVE-2026-18393","summary":"Ffmpeg: ffmpeg: heap buffer overflow in tdsc_load_cursor() via cur_fmt_mono cursor","details":"A flaw was found in FFmpeg. The tdsc_load_cursor() function writes beyond\nthe bounds of a heap-allocated buffer when processing crafted TDSC cursor\ndata. A remote attacker could exploit this by supplying a specially crafted\nvideo file, potentially leading to a denial of service or arbitrary code\nexecution.","modified":"2026-08-30T08:06:12.897016Z","published":"2026-08-28T09:05:35.022Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18393.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://patchwork.ffmpeg.org/project/ffmpeg/patch/177767065817.63.1948165304485903849@29965ddac10e/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-18393"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18393.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18393"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2520309"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/242ff799c75f20bade946314c8d741d0887ee11c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"242ff799c75f20bade946314c8d741d0887ee11c"}],"database_specific":{"source":"REFERENCES"}}],"versions":["n8.2-dev","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-18393.json","vanir_signatures_modified":"2026-08-30T08:06:12Z","vanir_signatures":[{"target":{"file":"libavcodec/tdsc.c"},"deprecated":false,"digest":{"line_hashes":["132926603633619437789564998802531084012","5115286422503886191163899541961563008","96726760300170213713591501441628314041","91104098611128400657983985119675472894","132926603633619437789564998802531084012","5115286422503886191163899541961563008","55813710358584922178425752992249684987","331985906405930370156508052252427014409"],"threshold":0.9},"id":"CVE-2026-18393-e2aa7986","signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/242ff799c75f20bade946314c8d741d0887ee11c"},{"deprecated":false,"digest":{"function_hash":"149856160101408485285483853934977017196","length":3332},"id":"CVE-2026-18393-f96efe34","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/242ff799c75f20bade946314c8d741d0887ee11c","target":{"file":"libavcodec/tdsc.c","function":"tdsc_load_cursor"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H"}]}