CVE-2024-31582

Source
https://cve.org/CVERecord?id=CVE-2024-31582
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31582.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31582
Downstream
Related
Published
2024-04-17T00:00:00Z
Modified
2026-05-31T02:27:46.232059Z
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31582.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Database specific
{
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "6.1"
        },
        {
            "fixed": "7.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31582.json"

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Database specific
{
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "6.1"
        },
        {
            "fixed": "7.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

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

Database specific

vanir_signatures
[
    {
        "deprecated": false,
        "target": {
            "function": "draw_block_rectangle",
            "file": "libavfilter/vf_codecview.c"
        },
        "digest": {
            "length": 431.0,
            "function_hash": "320061853694642262934922478288932641861"
        },
        "id": "CVE-2024-31582-7659c052",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2",
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "target": {
            "file": "libavfilter/vf_codecview.c"
        },
        "digest": {
            "line_hashes": [
                "319708430502407432520331992559826981457",
                "142994277193402946059601450100742902669",
                "131929347247605933189668834962197678749",
                "303870734584393152590992055459542397807",
                "218888529723612049158752836204166369592"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-31582-9b0853a6",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2",
        "signature_type": "Line",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31582.json"
vanir_signatures_modified
"2026-05-31T02:27:46Z"