CVE-2024-31582

Source
https://cve.org/CVERecord?id=CVE-2024-31582
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31582.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-31582
Downstream
Related
Published
2024-04-17T19:15:07.893Z
Modified
2026-03-15T22:49:42.525322Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the drawblockrectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.

References

Affected packages

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Database specific
{
    "versions": [
        {
            "introduced": "6.1"
        },
        {
            "fixed": "7.0"
        }
    ]
}

Affected versions

n6.*
n6.1-dev
n6.2-dev

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "38"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "39"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "40"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "libavfilter/vf_codecview.c",
            "function": "draw_block_rectangle"
        },
        "id": "CVE-2024-31582-7659c052",
        "deprecated": false,
        "source": "https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2",
        "digest": {
            "function_hash": "320061853694642262934922478288932641861",
            "length": 431.0
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "libavfilter/vf_codecview.c"
        },
        "id": "CVE-2024-31582-9b0853a6",
        "deprecated": false,
        "source": "https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2",
        "digest": {
            "line_hashes": [
                "319708430502407432520331992559826981457",
                "142994277193402946059601450100742902669",
                "131929347247605933189668834962197678749",
                "303870734584393152590992055459542397807",
                "218888529723612049158752836204166369592"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31582.json"