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-03T01:22:23.109032Z
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
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Affected versions

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

Database specific

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