Division by zero in libpng - CVE-2011-3328
Published: January 17, 2012 / Updated: August 11, 2020
libpng
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to divide-by-zero error within The png_handle_cHRM function in pngrutil.c in libpng 1.5.4, when color-correction support is enabled,. A remote attacker can perform a denial of service (divide-by-zero error and application crash) via a malformed PNG image containing a cHRM chunk associated with a certain zero value.
How to mitigate CVE-2011-3328
Sources
- http://libpng.org/pub/png/libpng.html
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- http://sourceforge.net/tracker/index.php?func=detail&aid=3406145&group_id=5624&atid=105624
- http://support.apple.com/kb/HT5130
- http://support.apple.com/kb/HT5281
- http://support.apple.com/kb/HT5503
- http://www.kb.cert.org/vuls/id/477046
- https://bugzilla.redhat.com/show_bug.cgi?id=740864