CVE-2020-35965

Source
https://cve.org/CVERecord?id=CVE-2020-35965
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35965.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35965
Downstream
CLEANSTART (4)
DEBIAN (1)
JLSEC (1)
MGASA (1)
OESA (2)
openSUSE (1)
SUSE (2)
UBUNTU (1)
Related
Published
2021-01-04T02:15:11Z
Modified
2026-10-22T07:43:44Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "10.0"
                        },
                        {
                            "last_affected":  "10.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.3.1"
                },
                {
                    "fixed":  "4.4"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "3e5959b3457f7f1856d997261e6ac672bba49e8b"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "b0a8b40294ea212c1938348ff112ef1b9bf16bb3"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

9.*
9.0
n9.*
n9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35965.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "335900245080905195518199500105634341627",
            "length":  3875
        },
        "id":  "CVE-2020-35965-46b6d8a5",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/ffmpeg/ffmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3",
        "target":  {
            "file":  "libavcodec/exr.c",
            "function":  "decode_frame"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "314669553627519175455910785186614959061",
                "1607368138201453610048915646059563107",
                "244482794177306786665733148081237557086",
                "214458255490862211237265395190480335490",
                "263897946523995697652292010420148165934",
                "19272380277864278366063073187641011363",
                "219757913322254528710254513951421514529",
                "170780553531284558693191737341113297",
                "37814278519587150644049758241271325829",
                "46704310771709105788335437876713644209"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-35965-9adf2974",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/ffmpeg/ffmpeg/commit/b0a8b40294ea212c1938348ff112ef1b9bf16bb3",
        "target":  {
            "file":  "libavcodec/exr.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "124937820520588315441984477221866751122",
            "length":  3851
        },
        "id":  "CVE-2020-35965-e8160555",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/ffmpeg/ffmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b",
        "target":  {
            "file":  "libavcodec/exr.c",
            "function":  "decode_frame"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "11453760296080827596215104085033325511",
                "338685430887148091291965859791680091872",
                "172064141470120326502547602228483699307",
                "68840693532925938066564762591449107621"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-35965-fdcf59d3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/ffmpeg/ffmpeg/commit/3e5959b3457f7f1856d997261e6ac672bba49e8b",
        "target":  {
            "file":  "libavcodec/exr.c"
        }
    }
]
vanir_signatures_modified
"2026-10-22T07:43:44Z"