Updated gd packages that fix security issues with overflow in various
memory allocation calls are now available.
[Updated 24 May 2005]
Multilib packages have been added to this advisory
The gd packages contain a graphics library used for the dynamic creation of
images such as PNG and JPEG.
Several buffer overflows were reported in various memory allocation calls.
An attacker could create a carefully crafted image file in such a way that
it could cause ImageMagick to execute arbitrary code when processing the
image. The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0990 to these issues.
While researching the fixes to these overflows, additional buffer overflows
were discovered in calls to gdMalloc. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0941 to
Users of gd should upgrade to these updated packages, which contain a
backported security patch, and are not vulnerable to these issues.