CVE-2019-9721

Source
https://cve.org/CVERecord?id=CVE-2019-9721
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-9721.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-9721
Downstream
Related
Published
2019-03-12T09:29:00.577Z
Modified
2026-03-15T22:32:52.725967Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A denial of service in the subtitle decoder in FFmpeg 3.2 and 4.1 allows attackers to hog the CPU via a crafted video file in Matroska format, because handleopenbrace in libavcodec/htmlsubtitles.c has a complex format argument to sscanf.

References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.1"
        }
    ]
}

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
n3.2-dev
n3.2.1
n3.2.10
n3.2.11
n3.2.12
n3.2.13
n3.2.2
n3.2.3
n3.2.4
n3.2.5
n3.2.6
n3.2.7
n3.2.8
n3.2.9
n3.3-dev
n3.4-dev
n3.5-dev
n4.*
n4.1-dev
n4.2-dev

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "18.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "18.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "19.04"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-9721.json"
vanir_signatures
[
    {
        "id": "CVE-2019-9721-1e4b4ede",
        "digest": {
            "function_hash": "51195086334001458191859035190219042570",
            "length": 3610.0
        },
        "signature_type": "Function",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/273f2755ce8635d42da3cde0eeba15b2e7842774",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "libavcodec/htmlsubtitles.c",
            "function": "ff_htmlmarkup_to_ass"
        }
    },
    {
        "id": "CVE-2019-9721-efb6ae89",
        "digest": {
            "line_hashes": [
                "181052376676104601782979859616773957010",
                "114335331683057061847747733341231002884",
                "52182576610393413327815494532710655027",
                "151988408299784471571915177291850664201",
                "143530476180291881434987183528048468203",
                "20671168889515778463202263099394878314",
                "117734745311139794259276495167403311113",
                "247691314197916473622205852293270336349",
                "91970035849042864838408869607449612939",
                "298548214798456625181670453837162301144",
                "51594798183235078235674705393957355135",
                "244888744203267073148994254791264550488"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/273f2755ce8635d42da3cde0eeba15b2e7842774",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "libavcodec/htmlsubtitles.c"
        }
    }
]