CVE-2024-31581

Source
https://cve.org/CVERecord?id=CVE-2024-31581
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31581.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-31581
Downstream
Published
2024-04-17T19:15:07.840Z
Modified
2026-02-14T23:51:00.528847Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbsh266syntax_template.c. This vulnerability allows attackers to cause undefined behavior within the application.

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

Affected versions

Other
N
n0.*
n0.11-dev
n0.12-dev
n0.8
n1.*
n1.1-dev
n1.2-dev
n1.3-dev
n2.*
n2.0
n2.1-dev
n2.2-dev
n2.3-dev
n2.4-dev
n2.5-dev
n2.6-dev
n2.7-dev
n2.8-dev
n2.9-dev
n3.*
n3.1-dev
n3.2-dev
n3.3-dev
n3.4-dev
n3.5-dev
n4.*
n4.1-dev
n4.2-dev
n4.3-dev
n4.4-dev
n4.5-dev
n5.*
n5.1-dev
n5.2-dev
n6.*
n6.1-dev
n6.2-dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31581.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/ce0c178a408d43e71085c28a47d50dc939b60196",
        "digest": {
            "line_hashes": [
                "243846168522435901475398465128611970493",
                "258198578430153156272222716017777980796",
                "305358860117251820047432404442544515541",
                "50317458278124062005499996859226711436",
                "280845785478774785338356929297197901535",
                "183022241336373039497728604178110771281",
                "117126856626383008197633066464174118708"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-31581-4e2782ed",
        "deprecated": false,
        "target": {
            "file": "libavcodec/cbs_h266_syntax_template.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/ce0c178a408d43e71085c28a47d50dc939b60196",
        "digest": {
            "function_hash": "52845286316637006315757957763183738972",
            "length": 21288.0
        },
        "id": "CVE-2024-31581-d8d3994d",
        "deprecated": false,
        "target": {
            "file": "libavcodec/cbs_h266_syntax_template.c",
            "function": "(pps)"
        }
    }
]