Mandrake Linux Security Advisory : imlib2 (MDKSA-2007:156)

Medium Nessus Plugin ID 37033


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 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 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 prevent these issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 37033

File Name: mandrake_MDKSA-2007-156.nasl

Version: 1.12

Type: local

Published: 2009/04/23

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

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:2007.1

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: 2007/08/10

Reference Information

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

BID: 20903

MDKSA: 2007:156