FreeBSD : p5-Imager -- possibly exploitable buffer overflow (632c98be-aad2-4af2-849f-41a6862afd6a)

Critical Nessus Plugin ID 25130


The remote FreeBSD host is missing a security-related update.


Imager 0.56 and all earlier versions with BMP support have a security issue when reading compressed 8-bit per pixel BMP files where either a compressed run of data or a literal run of data overflows the scan-line.

Such an overflow causes a buffer overflow in a malloc() allocated memory buffer, possibly corrupting the memory arena headers.

The effect depends on your system memory allocator, with glibc this typically results in an abort, but with other memory allocators it may be possible to cause local code execution.


Update the affected package.

See Also

Plugin Details

Severity: Critical

ID: 25130

File Name: freebsd_pkg_632c98beaad24af2849f41a6862afd6a.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2007/05/02

Modified: 2013/06/21

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:p5-Imager, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2007/04/30

Vulnerability Publication Date: 2007/04/04

Reference Information

CVE: CVE-2007-1942, CVE-2007-1943, CVE-2007-1946, CVE-2007-1948