GLSA-200802-01 : SDL_image: Two buffer overflow vulnerabilities

Critical Nessus Plugin ID 30243

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 6.6


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200802-01 (SDL_image: Two buffer overflow vulnerabilities)

The LWZReadByte() function in file IMG_gif.c and the IMG_LoadLBM_RW() function in file IMG_lbm.c each contain a boundary error that can be triggered to cause a static buffer overflow and a heap-based buffer overflow. The first boundary error comes from some old vulnerable GD PHP code (CVE-2006-4484).
Impact :

A remote attacker can make an application using the SDL_image library to process a specially crafted GIF file or IFF ILBM file that will trigger a buffer overflow, resulting in the execution of arbitrary code with the permissions of the application or the application crash.
Workaround :

There is no known workaround at this time.


All SDL_image users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/sdl-image-1.2.6-r1'

See Also

Plugin Details

Severity: Critical

ID: 30243

File Name: gentoo_GLSA-200802-01.nasl

Version: 1.15

Type: local

Published: 2008/02/11

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Critical

VPR Score: 6.6

CVSS v2.0

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sdl-image, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2008/02/06

Reference Information

CVE: CVE-2007-6697, CVE-2008-0544

GLSA: 200802-01

CWE: 119