# CVE-2025-0518: Unchecked sscanf return value which leads to memory data leak

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-16 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-0518, DEBIAN-CVE-2025-0518, CGA-2g26-cr85-r4w6, CGA-3wc8-7gmj-fp9x, CGA-6q7c-q96p-6xp2, CGA-7vxv-r9pf-vw7g, CGA-8pfx-89w3-5x4f, CGA-9cg4-8whm-m34m, CGA-9pm6-99qr-rwh8, CGA-c2fx-54v8-mv24, CGA-m55j-pc75-qh4f, CGA-qr88-p6q7-946q, ALPINE-CVE-2025-0518
- Record: https://cvemate.com/vulnerability/CVE-2025-0518 · JSON: https://cvemate.com/vulnerability/CVE-2025-0518/json

## Description

```text
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
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.377%, percentile 33.798%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): \< 8.0-r0
- chainguard ffmpeg-6 (Chainguard): \< 6.1.3-r0
- chainguard torchaudio-ffmpeg-tarballs (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-4.4.4 (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-5.0.3 (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-6.0 (Chainguard): All versions (No fix recorded)
- debian ffmpeg (Debian): \< 7:5.1.7-0+deb12u1 \| \< 7:7.1.1-1
- ubuntu ffmpeg (Ubuntu): \< 7:2.8.17-0ubuntu0.1+esm10 \| \< 7:3.4.11-0ubuntu0.1+esm8 \| \< 7:4.2.7-0ubuntu0.1+esm8 \| \< 7:4.4.2-0ubuntu0.22.04.1+esm7 \| \< 7:6.1.1-3ubuntu5+esm3
- ubuntu libav (Ubuntu): All versions (No fix recorded)
- ffmpeg ffmpeg: 7.1

## References

- <https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00037.html>
- <https://ubuntu.com/security/CVE-2025-0518>
- <https://www.cve.org/CVERecord?id=CVE-2025-0518>
- <https://ubuntu.com/security/notices/USN-7538-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-0518>
- <https://www.ffmpeg.org/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0518.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0518>
- <https://git.ffmpeg.org/ffmpeg.git>
- <https://security.alpinelinux.org/vuln/CVE-2025-0518>

---

Data as of 2026-12-05T06:32:59.460Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
