djpeg goes into infinite loop with a certain jpeg image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libjpeg-turbo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While doing a fuzz testing, I created an jpeg image and then I processed that image with djpeg. I found that djpeg goes into some sort of infinite loop. I also observed that other applications can handle that image. I have attached the image that triggers this behaviour. I ran the following command:
/usr/bin/djpeg -fast image.jpeg
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libjpeg-turbo-progs 1.3.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.16.0-60-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 10 12:31:20 2016
ExecutablePath: /usr/bin/djpeg
InstallationDate: Installed on 2015-07-31 (222 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: libjpeg-turbo
UpgradeStatus: No upgrade log present (probably fresh install)