Description
The seg_write_packet function in libavformat/segment.c in ffmpeg 2.1.4 and earlier does not free the correct memory location, which allows remote attackers to cause a denial of service ("invalid memory handler") and possibly execute arbitrary code via a crafted video that triggers a use after free.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | libav | 6:0.8.17-2+deb7u1 | DLA-464-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libav | 6:9.20-0ubuntu0.14.04.1+esm1 | — |
Advisories 1
- DLA-464-1 libav - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20150104 Vulnerability Report - from QIHU 360 China mailing-list
- GLSA-201606-09 vendor-advisory