CVE-2025-0518

Source
https://cve.org/CVERecord?id=CVE-2025-0518
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-0518.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-0518
Downstream
Related
Published
2025-01-16T16:45:10.761Z
Modified
2026-08-18T16:54:39.499251Z
Severity
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N CVSS Calculator
Summary
Unchecked sscanf return value which leads to memory data leak
Details

Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive Constants Within an Executable. This vulnerability is associated with program files https://github.Com/FFmpeg/FFmpeg/blob/master/libavfilter/af_pan.C .

This issue affects FFmpeg: 7.1.

Issue was fixed:  https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a

https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a This issue was discovered by: Simcha Kosman

Database specific
{
    "cna_assigner": "CyberArk",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0518.json",
    "cwe_ids": [
        "CWE-125",
        "CWE-252"
    ]
}
References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:7.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.1"
        },
        {
            "last_affected": "7.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}
Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:7.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.1"
        },
        {
            "last_affected": "7.1"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.1
n7.*
n7.1-dev
n7.2-dev

Database specific

vanir_signatures
[
    {
        "id": "CVE-2025-0518-00626213",
        "deprecated": false,
        "digest": {
            "length": 3199.0,
            "function_hash": "179449618640503475677325638784555393387"
        },
        "signature_version": "v1",
        "target": {
            "file": "libavfilter/af_pan.c",
            "function": "init"
        },
        "source": "https://github.com/ffmpeg/ffmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2025-0518-8e78efe1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "596763915637817527666024439876900225",
                "130993731208131272565056867250015286029",
                "322112114579730576480112407988289303492",
                "103623067970097640017997411768966989204"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "target": {
            "file": "libavfilter/af_pan.c"
        },
        "source": "https://github.com/ffmpeg/ffmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a",
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-0518.json"
vanir_signatures_modified
"2026-08-18T16:54:39Z"