{"id":"CVE-2020-35965","details":"decode_frame in libavcodec/exr.c in FFmpeg 4.3.1 has an out-of-bounds write because of errors in calculations of when to perform memset zero operations.","modified":"2026-04-16T04:32:25.106656330Z","published":"2021-01-04T02:15:11.273Z","related":["SUSE-SU-2021:3521-1","SUSE-SU-2023:0005-1","openSUSE-SU-2021:3521-1"],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00026.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202105-24"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4990"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26532"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"6b6b9e593dd4d3aaf75f48d40a13ef03bdef9fdb"},{"fixed":"c5079bf3bccd24bf8ed45ff47ff4071fd09e9fd8"},{"fixed":"3e5959b3457f7f1856d997261e6ac672bba49e8b"},{"fixed":"b0a8b40294ea212c1938348ff112ef1b9bf16bb3"}],"database_specific":{"versions":[{"introduced":"4.3.1"},{"fixed":"4.4"}]}}],"database_specific":{"vanir_signatures":[{"target":{"file":"libavcodec/exr.c","function":"decode_frame"},"signature_type":"Function","id":"CVE-2020-35965-46b6d8a5","digest":{"length":3875,"function_hash":"335900245080905195518199500105634341627"},"deprecated":false,"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3"},{"signature_type":"Line","id":"CVE-2020-35965-9adf2974","target":{"file":"libavcodec/exr.c"},"digest":{"threshold":0.9,"line_hashes":["314669553627519175455910785186614959061","1607368138201453610048915646059563107","244482794177306786665733148081237557086","214458255490862211237265395190480335490","263897946523995697652292010420148165934","19272380277864278366063073187641011363","219757913322254528710254513951421514529","170780553531284558693191737341113297","37814278519587150644049758241271325829","46704310771709105788335437876713644209"]},"signature_version":"v1","deprecated":false,"source":"https://github.com/ffmpeg/ffmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3"},{"signature_type":"Function","id":"CVE-2020-35965-e8160555","target":{"file":"libavcodec/exr.c","function":"decode_frame"},"digest":{"length":3851,"function_hash":"124937820520588315441984477221866751122"},"signature_version":"v1","deprecated":false,"source":"https://github.com/ffmpeg/ffmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b"},{"target":{"file":"libavcodec/exr.c"},"signature_type":"Line","id":"CVE-2020-35965-fdcf59d3","digest":{"threshold":0.9,"line_hashes":["11453760296080827596215104085033325511","338685430887148091291965859791680091872","172064141470120326502547602228483699307","68840693532925938066564762591449107621"]},"signature_version":"v1","deprecated":false,"source":"https://github.com/ffmpeg/ffmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b"}],"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}],"vanir_signatures_modified":"2026-04-11T13:53:11Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35965.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}