# CVE-2020-35965: decodeframe 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…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.31%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-04T01:07:31.000Z
- Modified: 2026-06-17T03:14:40.810Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ffmpeg ffmpeg: from 4.3.1 before 4.4
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26532> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/FFmpeg/FFmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3> (patch, third-party-advisory)
- <https://github.com/FFmpeg/FFmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/01/msg00026.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202105-24> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4990> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-35965](https://www.cve.org/CVERecord?id=CVE-2020-35965), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-35965](https://nvd.nist.gov/vuln/detail/CVE-2020-35965), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35965 · Whole record: https://cve.day/CVE-2020-35965.json · Rebuilt by cve.day 2026-11-25T22:57:56.735Z
