CVE-2022-3109

Source
https://cve.org/CVERecord?id=CVE-2022-3109
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3109.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-3109
Downstream
Related
Published
2022-12-16T00:00:00Z
Modified
2026-07-09T06:35:07.786569Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in the FFmpeg package, where vp3decodeframe in libavcodec/vp3.c lacks check of the return value of av_malloc() and will cause a null pointer dereference, impacting availability.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3109.json",
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-476"
    ]
}
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
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.0.3"
        }
    ]
}
Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.0.3"
        }
    ]
}

Affected versions

FFmpeg 5.*
FFmpeg 5.1
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.0
n5.0.1
n5.0.2
n5.1-dev

Database specific

vanir_signatures_modified
"2026-07-09T06:35:07Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3109.json"
vanir_signatures
[
    {
        "id": "CVE-2022-3109-2009719d",
        "digest": {
            "line_hashes": [
                "296668209892502617258083696776298184501",
                "179955415149809112259535756720552300062",
                "234635089860816423356759960037085279787",
                "223938992080501052778109654229955851693",
                "114824492263024678544587325202192976403"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/656cb0450aeb73b25d7d26980af342b37ac4c568",
        "deprecated": false,
        "target": {
            "file": "libavcodec/vp3.c"
        }
    },
    {
        "id": "CVE-2022-3109-6328b518",
        "digest": {
            "function_hash": "227388434592210151558034273051090982660",
            "length": 7000.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/656cb0450aeb73b25d7d26980af342b37ac4c568",
        "deprecated": false,
        "target": {
            "function": "vp3_decode_frame",
            "file": "libavcodec/vp3.c"
        }
    }
]