{"id":"CVE-2025-0518","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 .\n\nThis issue affects FFmpeg: 7.1.\n\nIssue was fixed:  https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a\n\n https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a This issue was discovered by: Simcha Kosman","modified":"2026-08-18T16:54:39.499251Z","published":"2025-01-16T16:45:10.761Z","related":["SUSE-SU-2025:0862-1","SUSE-SU-2025:1128-1","SUSE-SU-2025:1450-1","openSUSE-SU-2025:14833-1","openSUSE-SU-2025:14834-1","openSUSE-SU-2025:15010-1","openSUSE-SU-2026:20710-1"],"database_specific":{"cna_assigner":"CyberArk","cwe_ids":["CWE-125","CWE-252"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0518.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00037.html"},{"type":"WEB","url":"https://www.ffmpeg.org/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0518.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0518"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a"},{"type":"PACKAGE","url":"https://git.ffmpeg.org/ffmpeg.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"6b213175c90534e0ad1924bfeba2cf7e20db5bf2"},{"last_affected":"6b213175c90534e0ad1924bfeba2cf7e20db5bf2"}],"database_specific":{"extracted_events":[{"introduced":"7.1"},{"last_affected":"7.1"}],"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:7.1:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"6b213175c90534e0ad1924bfeba2cf7e20db5bf2"},{"fixed":"b5b6391d64807578ab872dc58fb8aa621dcfc38a"}],"database_specific":{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:7.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.1"},{"last_affected":"7.1"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["7.1","n7.1-dev","n7.2-dev"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-0518.json","vanir_signatures_modified":"2026-08-18T16:54:39Z","vanir_signatures":[{"id":"CVE-2025-0518-00626213","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a","target":{"file":"libavfilter/af_pan.c","function":"init"},"deprecated":false,"digest":{"function_hash":"179449618640503475677325638784555393387","length":3199}},{"id":"CVE-2025-0518-8e78efe1","signature_type":"Line","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a","target":{"file":"libavfilter/af_pan.c"},"deprecated":false,"digest":{"line_hashes":["596763915637817527666024439876900225","130993731208131272565056867250015286029","322112114579730576480112407988289303492","103623067970097640017997411768966989204"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}