Heap-Buffer-Overflow Vulnerability Discovered in FFmpeg's EXIF Writer for Image Formats
By
retr0reg
Crackles when you bite it. Shows the baker did the work.
Summary
The article details the discovery of a four-byte heap-buffer-overflow vulnerability in FFmpeg's EXIF writer when processing extra IFD (Image File Directory) tags. This security bug affects common image formats like PNG, JPG, WebP, and AVIF. The author provides technical analysis of the vulnerability's root cause within FFmpeg's internal EXIF processing mechanisms, offering insights into both the security flaw and how EXIF handling works under the hood. The bug was caught shortly after its introduction, and the article serves as both a security disclosure and educational deep dive into FFmpeg's codebase.
Key quotes
· 5 pulledWe recently found a cool four-bytes heap-buffer-overflow in FFmpeg's avcodec/exif during the processing of IFDs (Image File Directory).
This affects .png, .jpg, .webp, .avif … the formats we use most often.
The cause of this bug is very interesting, and I don't want to spoil it here; I want you to find out.
It's also a short in-depth dive of FFmpeg internal workings of EXIFs, something we use so often.
This bug wasn't in FFmpeg long. We happened to catch it about three days after it go
You might also wanna read
Critical Security Alert: Malicious Credential-Stealing File Found in litellm 1.82.8 PyPI Package
The article reports a critical security vulnerability in the litellm==1.82.8 Python package on PyPI, which contains a malicious .pth file th
GitHub Copilot CLI Vulnerabilities Allow Remote Code Execution and Malware Download
GitHub Copilot CLI has security vulnerabilities that allow remote code execution via indirect prompt injection, enabling malware to be downl
promptarmor.com·3mo agoSecurity Researcher Discovers Vulnerabilities in VSCode Extensions and Core Software
A security researcher details their discovery and disclosure of three vulnerabilities in VSCode extensions and one in VSCode itself (CVE-202
Analysis of CVE-2025-14986: Temporal's Masked Namespace Vulnerability Enabling Cross-Tenant Security Bypass
The article details CVE-2025-14986, a security vulnerability in Temporal's ExecuteMultiOperation endpoint that allows cross-tenant policy an
Notepad++ Update Infrastructure Compromised by State-Sponsored Hackers
Notepad++, a popular text editor, was compromised by state-sponsored hackers who hijacked its update infrastructure to redirect traffic to m
OpenCode AI Coding Agent Hit with Critical Remote Code Execution Vulnerability
OpenCode, a popular open-source AI coding agent, was recently hit with a critical CVE (Common Vulnerabilities and Exposures) that allowed fo
