CVE-2018-13305

Source
https://cve.org/CVERecord?id=CVE-2018-13305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-13305
Downstream
Related
Published
2018-07-05T17:29:00.610Z
Modified
2026-07-08T17:15:17.794027Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1putblocksclamped function in libavcodec/vc1block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.

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:4.0.1:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "4.0.1"
        },
        {
            "last_affected": "4.0.1"
        }
    ]
}

Affected versions

4.*
4.0.1
n4.*
n4.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13305.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:4.0.1:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.0.1"
        },
        {
            "last_affected": "4.0.1"
        }
    ]
}

Affected versions

4.*
4.0.1
n4.*
n4.0.1

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "315308842985963567160504347824073081058",
                "112614877628104946103637232229328740279",
                "51526975697305092278210617899140764129",
                "61832793806366803356970899084193080255"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/d08d4a8c7387e758d439b0592782e4cfa2b4d6a4",
        "signature_type": "Line",
        "target": {
            "file": "libavcodec/vc1_block.c"
        },
        "id": "CVE-2018-13305-51b88888",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-08T17:15:17Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13305.json"