blob: c66baec258c873afbf107f565c47156168e53d9f [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200802-01">
<title>SDL_image: Two buffer overflow vulnerabilities</title>
Two boundary errors have been identified in SDL_image allowing for the
remote execution of arbitrary code or the crash of the application using
the library.
<product type="ebuild">sdl-image</product>
<announced>February 06, 2008</announced>
<revised>February 06, 2008: 01</revised>
<package name="media-libs/sdl-image" auto="yes" arch="*">
<unaffected range="ge">1.2.6-r1</unaffected>
<vulnerable range="lt">1.2.6-r1</vulnerable>
SDL_image is an image file library that loads images as SDL surfaces,
and supports various formats like BMP, GIF, JPEG, LBM, PCX, PNG, PNM,
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 type="normal">
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.
There is no known workaround at this time.
All SDL_image users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=media-libs/sdl-image-1.2.6-r1&quot;</code>
<uri link="">SA28640</uri>
<uri link="">CVE-2007-6697</uri>
<uri link="">CVE-2008-0544</uri>
<metadata tag="submitter" timestamp="Tue, 29 Jan 2008 09:35:04 +0000">
<metadata tag="bugReady" timestamp="Tue, 29 Jan 2008 09:36:22 +0000">