Mandrake Linux Security Advisory : imlib2 (MDKSA-2006:198-1)

Medium Nessus Plugin ID 24583


The remote Mandrake Linux host is missing one or more security updates.


M Joonas Pihlaja discovered several vulnerabilities in the Imlib2 graphics library.

The load() function of several of the Imlib2 image loaders does not check the width and height of an image before allocating memory. As a result, a carefully crafted image file can trigger a segfault when an application using Imlib2 attempts to view the image. (CVE-2006-4806)

The tga loader fails to bounds check input data to make sure the input data doesn't load outside the memory mapped region. (CVE-2006-4807)

The RLE decoding loops of the load() function in the tga loader does not check that the count byte of an RLE packet doesn't cause a heap overflow of the pixel buffer. (CVE-2006-4808)

The load() function of the pnm loader writes arbitrary length user data into a fixed size stack allocated buffer buf[] without bounds checking. (CVE-2006-4809) Updated packages have been patched to correct these issues.

Update :

An error in the previous patchset may affect JPEG image handling for certain valid images. This new update corrects this issue.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 24583

File Name: mandrake_MDKSA-2006-198.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2007/02/18

Modified: 2015/03/19

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.1

Temporal Score: 4.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:imlib2-data, p-cpe:/a:mandriva:linux:lib64imlib2_1, p-cpe:/a:mandriva:linux:lib64imlib2_1-devel, p-cpe:/a:mandriva:linux:lib64imlib2_1-filters, p-cpe:/a:mandriva:linux:lib64imlib2_1-loaders, p-cpe:/a:mandriva:linux:libimlib2_1, p-cpe:/a:mandriva:linux:libimlib2_1-devel, p-cpe:/a:mandriva:linux:libimlib2_1-filters, p-cpe:/a:mandriva:linux:libimlib2_1-loaders, cpe:/o:mandriva:linux:2006, cpe:/o:mandriva:linux:2007

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2006/11/06

Reference Information

CVE: CVE-2006-4806, CVE-2006-4807, CVE-2006-4808, CVE-2006-4809

BID: 20903

MDKSA: 2006:198-1