Multiple vulnerabilities have been identified in GD Graphics Library, which could be exploited by attackers to cause a denial of service or compromise an affected system.
The first issue is caused by an infinite loop error in the PNG reader when processing malformed data, which could be exploited by attackers to crash an affected application.
The second vulnerability is caused by an integer overflow error in the "gdImageCreateTrueColor()" function when processing a specially crafted "sx" argument, which could be exploited by attackers to execute arbitrary code.
The third issue is caused by an error in the "gdImageCreateXbm()" function, which could be exploited by attackers to crash an affected application.
The fourth issue is caused by errors in the GIF reader, which could be exploited by attackers to cause a denial of service or compromise a vulnerable system by tricking a user into opening a specially crafted image using an application linked against a vulnerable library.
Credits
Vulnerabilities reported by the vendor, Mattias Bengtsson and Philip Olausson (Secweb).
ChangeLog
2007-06-26 : Initial release
2007-06-27 : Updated References
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.