{"id":"CVE-2026-120244","summary":"FFmpeg 2.1 through 9.0.2 Uninitialized Memory Leak via PCX Decoder","details":"FFmpeg 2.1 through 9.0.2 contains a use of uninitialized resource vulnerability in the PCX decoder that allows attackers to leak heap memory through truncated RLE scanlines. Attackers can craft a PCX image whose RLE data ends early, causing pcx_decode_frame() to copy uninitialized av_malloc() buffer contents into visible decoded pixels.","modified":"2026-11-04T07:05:51.574469744Z","published":"2026-11-01T00:57:10.036Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120244.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-908"]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120244.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120244"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-2.1-through-9.0.2-uninitialized-memory-leak-via-pcx-decoder"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24868"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/ecd5dfc308a164757e7f25b1afefd8db21b43cf9"},{"type":"PACKAGE","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"ARTICLE","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcx.c#L45-L59"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"a37e42b3ee4226a4d2c69cd4eebf9c81e6df8ea5"},{"fixed":"ecd5dfc308a164757e7f25b1afefd8db21b43cf9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.1"},{"last_affected":"9.0.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ecd5dfc308a164757e7f25b1afefd8db21b43cf9"}]}]}}],"versions":["n9.1-dev","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.1-dev"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120244.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/ecd5dfc308a164757e7f25b1afefd8db21b43cf9","target":{"file":"libavcodec/pcx.c"},"deprecated":false,"digest":{"line_hashes":["28309566557659305786855465215661638433","336908627674443671486431672133900445266","84347106031839645857702824454528530207","245139230802263922967680536314784739310","273614799666253721657182315054597400880"],"threshold":0.9},"id":"CVE-2026-120244-1f3646f0"},{"source":"https://github.com/ffmpeg/ffmpeg/commit/ecd5dfc308a164757e7f25b1afefd8db21b43cf9","target":{"function":"pcx_rle_decode","file":"libavcodec/pcx.c"},"deprecated":false,"digest":{"function_hash":"251657604861667749001745439364783281465","length":522},"id":"CVE-2026-120244-af3f4c12","signature_type":"Function","signature_version":"v1"}],"vanir_signatures_modified":"2026-11-04T07:05:51Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}