Description
The png_handle_cHRM function in pngrutil.c in libpng 1.5.4, when color-correction support is enabled, allows remote attackers to cause 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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libpng16 | 1.6.26-1.1 | openSUSE-SU-2024:10050-1 |
Advisories 1
- openSUSE-SU-2024:10050-1 libpng16-16-1.6.26-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://libpng.org/pub/png/libpng.html
- http://sourceforge.net/tracker/index.php?func=detail&aid=3406145&group_id=5624&atid=105624
- APPLE-SA-2012-09-19-1 vendor-advisory
- http://support.apple.com/kb/HT5503
- http://support.apple.com/kb/HT5130
- VU#477046 third-party-advisory
- APPLE-SA-2012-02-01-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=740864
- http://support.apple.com/kb/HT5281
- APPLE-SA-2012-05-09-1 vendor-advisory