Name | CVE-2017-9991 |
Description | Heap-based buffer overflow in the xwd_decode_frame function in libavcodec/xwddec.c in FFmpeg before 2.8.12, 3.0.x before 3.0.8, 3.1.x before 3.1.8, 3.2.x before 3.2.5, and 3.3.x before 3.3.1 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ffmpeg (PTS) | stretch (security) | 7:3.2.18-0+deb9u1 | fixed |
| stretch (lts), stretch | 7:3.2.19-0+deb9u5 | fixed |
| buster, buster (lts) | 7:4.1.11-0+deb10u2 | fixed |
| buster (security) | 7:4.1.11-0+deb10u1 | fixed |
| bullseye | 7:4.3.7-0+deb11u1 | fixed |
| bullseye (security) | 7:4.3.8-0+deb11u1 | fixed |
| bookworm (security), bookworm | 7:5.1.6-0+deb12u1 | fixed |
| sid, trixie | 7:7.1-3 | fixed |
libav (PTS) | jessie, jessie (lts) | 6:11.12-1~deb8u9 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ffmpeg | source | (unstable) | 7:3.2.5-1 | | | |
libav | source | (unstable) | (not affected) | | | |
Notes
- libav <not-affected> (Vulnerable feature not present)
https://github.com/FFmpeg/FFmpeg/commit/441026fcb13ac23aa10edc312bdacb6445a0ad06
The error occurs in the support for 8bpp XWD images where bpp and image
depth are not checked thoroughly enough. Libav does not support 8bpp
images and bails out early -- Diego Biurrun (libav project)