FreeBSD : zgv -- exploitable heap overflows (249a8c42-6973-11d9-ae49-000c41e2cdad)

Critical Nessus Plugin ID 18873


The remote FreeBSD host is missing one or more security-related updates.


infamous41md reports :

zgv uses malloc() frequently to allocate memory for storing image data. When calculating how much to allocate, user-supplied data from image headers is multiplied and/or added without any checks for arithmetic overflows. We can overflow numerous calculations, and cause small buffers to be allocated. Then we can overflow the buffer, and eventually execute code. There are a total of 11 overflows that are exploitable to execute arbitrary code.

These bugs exist in both zgv and xzgv.


Update the affected packages.

See Also

Plugin Details

Severity: Critical

ID: 18873

File Name: freebsd_pkg_249a8c42697311d9ae49000c41e2cdad.nasl

Version: $Revision: 1.19 $

Type: local

Published: 2005/07/13

Modified: 2013/11/06

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:xzgv, p-cpe:/a:freebsd:freebsd:zgv, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 2005/01/18

Vulnerability Publication Date: 2004/10/26

Reference Information

CVE: CVE-2004-0994