Heap-based buffer overflow in the avcodec_default_get_buffer function (utils.c) in FFmpeg…
Priority MEDIUM 41CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
Heap-based buffer overflow in the avcodec_default_get_buffer function (utils.c) in FFmpeg libavcodec 0.4.9-pre1 and earlier, as used in products such as (1) mplayer, (2) xine-lib, (3) Xmovie, and (4) GStreamer, allows remote attackers to execute arbitrary commands via small PNG images with palettes.
Why it matters now
EPSS 0.05209 92nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ffmpeg:ffmpeg:0.4.6:*:*:*:*:*:*:* | 0.4.6 | Vulnerable | FFmpeg |
| cpe:2.3:a:ffmpeg:ffmpeg:0.4.7:*:*:*:*:*:*:* | 0.4.7 | Vulnerable | FFmpeg |
| cpe:2.3:a:ffmpeg:ffmpeg:0.4.8:*:*:*:*:*:*:* | 0.4.8 | Vulnerable | FFmpeg |
| cpe:2.3:a:ffmpeg:ffmpeg:0.4.9:*:*:*:*:*:*:* | 0.4.9 | Vulnerable | FFmpeg |
| cpe:2.3:a:ffmpeg:ffmpeg:cvs:*:*:*:*:*:*:* | cvs | Vulnerable | FFmpeg |
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.6:*:*:*:*:*:*:* Versions 0.4.6 Vulnerable ·FFmpeg
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.7:*:*:*:*:*:*:* Versions 0.4.7 Vulnerable ·FFmpeg
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.8:*:*:*:*:*:*:* Versions 0.4.8 Vulnerable ·FFmpeg
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.9:*:*:*:*:*:*:* Versions 0.4.9 Vulnerable ·FFmpeg
- cpe:2.3:a:ffmpeg:ffmpeg:cvs:*:*:*:*:*:*:* Versions cvs Vulnerable ·FFmpeg
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2005-4048
- 2026-10-03 Alias added: GHSA-f7pg-m34f-mphj
References
Advisory 14
Other 4
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c?rev=1.162&content-type=text/x-cvsweb-markup&cvsroot=FFMpeg
- http://cvs.freedesktop.org/gstreamer/gst-ffmpeg/ChangeLog?rev=1.239&view=markup
- http://article.gmane.org/gmane.comp.video.ffmpeg.devel/26558
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg
More Ffmpeg vulnerabilities
- TI-2025-19015 FFmpeg git-master before commit d5873b was discovered to contain a memory leak in the component libavutil/iamf.c. CVSS 3.1HIGH 8.8
- TI-2024-21238 FFmpeg 7.0 contains a heap-buffer-overflow at libavfilter/vf_tiltandshift.c:189:5 in copy_column. CVSS 3.1HIGH 8.4
- TI-2023-06050 Ffmpeg: null pointer dereference in ffmpeg hls parsing CVSS 3.1HIGH 7.5
- TI-2023-28420 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… CVSS 3.1HIGH 8.0
- TI-2023-27357 FFmpeg v.n6.1-3-g466799d4f5 allows a heap-based buffer overflow via the… CVSS 3.1HIGH 8.0
- TI-2023-27044 Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a local… CVSS 3.1HIGH 8.0
Sources
- CVE-2005-4048 · CVE Program
- CVE-2005-4048 · NVD
- FIRST EPSS
- GHSA-f7pg-m34f-mphj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences