LibPNG Graphics Library Image Height Integer Overflow Vulnerability
BID:11481
Info
LibPNG Graphics Library Image Height Integer Overflow Vulnerability
| Bugtraq ID: | 11481 |
| Class: | Input Validation Error |
| CVE: |
CVE-2004-0955 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Oct 20 2004 12:00AM |
| Updated: | Jul 12 2009 08:06AM |
| Credit: | The vendor disclosed this vulnerability. |
| Vulnerable: |
Ubuntu Ubuntu Linux 4.1 ppc Ubuntu Ubuntu Linux 4.1 ia64 Ubuntu Ubuntu Linux 4.1 ia32 S.u.S.E. Linux Personal 9.1 libpng libpng3 1.2.6 rc1 libpng libpng3 1.2.6 libpng libpng3 1.2.5 libpng libpng3 1.2.4 libpng libpng3 1.2.3 libpng libpng3 1.2.2 libpng libpng3 1.2.1 libpng libpng3 1.2 .0 libpng libpng 1.0.17 libpng libpng 1.0.16 libpng libpng 1.0.15 libpng libpng 1.0.14 libpng libpng 1.0.13 libpng libpng 1.0.12 libpng libpng 1.0.11 libpng libpng 1.0.10 libpng libpng 1.0.9 libpng libpng 1.0.8 libpng libpng 1.0.7 libpng libpng 1.0.6 libpng libpng 1.0.5 libpng libpng 1.0 Debian Linux 3.0 sparc Debian Linux 3.0 s/390 Debian Linux 3.0 ppc Debian Linux 3.0 mipsel Debian Linux 3.0 mips Debian Linux 3.0 m68k Debian Linux 3.0 ia-64 Debian Linux 3.0 ia-32 Debian Linux 3.0 hppa Debian Linux 3.0 arm Debian Linux 3.0 alpha Debian Linux 3.0 |
| Not Vulnerable: | |
Discussion
LibPNG Graphics Library Image Height Integer Overflow Vulnerability
LibPNG is the official Portable Network Graphics (PNG) reference library.
LibPNG is reported susceptible to an image height integer overflow vulnerability.
A specially crafted PNG image could reportedly overflow an integer value, and possibly result in overwriting of critical memory regions allowing for the alteration of proper program execution. This vulnerability may be exploited to execute attacker-supplied code in the context of an application that utilized the affected library.
LibPNG is the official Portable Network Graphics (PNG) reference library.
LibPNG is reported susceptible to an image height integer overflow vulnerability.
A specially crafted PNG image could reportedly overflow an integer value, and possibly result in overwriting of critical memory regions allowing for the alteration of proper program execution. This vulnerability may be exploited to execute attacker-supplied code in the context of an application that utilized the affected library.
Exploit / POC
LibPNG Graphics Library Image Height Integer Overflow Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
LibPNG Graphics Library Image Height Integer Overflow Vulnerability
Solution:
SuSE has released advisory SUSE-SA:2004:037 mainly to address the vulnerabilities described in BID 11488 and 11489. However, in the addendum of this advisory, it is reported that fixes for the issue described in this BID are now available on the SuSE update FTP server for download. Customers are advised to see the referenced advisory for further information regarding obtaining and applying appropriate updates.
Debian GNU/Linux has released advisories DSA 570-1, and DSA 571-1 to address this issue in libpng and libpng3 respectively. Please see the referenced advisories for further information.
Ubuntu Linux has released security advisory USN-1-1 to address this issue. Please refer to the advisory for further information on obtaining and applying fixes.
libpng libpng 1.0.12
libpng libpng 1.0.15
libpng libpng3 1.2.1
libpng libpng3 1.2.5
Solution:
SuSE has released advisory SUSE-SA:2004:037 mainly to address the vulnerabilities described in BID 11488 and 11489. However, in the addendum of this advisory, it is reported that fixes for the issue described in this BID are now available on the SuSE update FTP server for download. Customers are advised to see the referenced advisory for further information regarding obtaining and applying appropriate updates.
Debian GNU/Linux has released advisories DSA 570-1, and DSA 571-1 to address this issue in libpng and libpng3 respectively. Please see the referenced advisories for further information.
Ubuntu Linux has released security advisory USN-1-1 to address this issue. Please refer to the advisory for further information on obtaining and applying fixes.
libpng libpng 1.0.12
-
Debian libpng2-dev_1.0.12-3.woody.9_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_alpha.deb -
Debian libpng2-dev_1.0.12-3.woody.9_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_arm.deb -
Debian libpng2-dev_1.0.12-3.woody.9_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_hppa.deb -
Debian libpng2-dev_1.0.12-3.woody.9_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_i386.deb -
Debian libpng2-dev_1.0.12-3.woody.9_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_ia64.deb -
Debian libpng2-dev_1.0.12-3.woody.9_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_m68k.deb -
Debian libpng2-dev_1.0.12-3.woody.9_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_mips.deb -
Debian libpng2-dev_1.0.12-3.woody.9_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_mipsel.deb -
Debian libpng2-dev_1.0.12-3.woody.9_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_powerpc.deb -
Debian libpng2-dev_1.0.12-3.woody.9_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_s390.deb -
Debian libpng2-dev_1.0.12-3.woody.9_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2-dev_1 .0.12-3.woody.9_sparc.deb -
Debian libpng2_1.0.12-3.woody.9_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_alpha.deb -
Debian libpng2_1.0.12-3.woody.9_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_arm.deb -
Debian libpng2_1.0.12-3.woody.9_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_hppa.deb -
Debian libpng2_1.0.12-3.woody.9_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_i386.deb -
Debian libpng2_1.0.12-3.woody.9_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_ia64.deb -
Debian libpng2_1.0.12-3.woody.9_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_m68k.deb -
Debian libpng2_1.0.12-3.woody.9_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_mips.deb -
Debian libpng2_1.0.12-3.woody.9_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_mipsel.deb -
Debian libpng2_1.0.12-3.woody.9_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_powerpc.deb -
Debian libpng2_1.0.12-3.woody.9_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_s390.deb -
Debian libpng2_1.0.12-3.woody.9_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng/libpng2_1.0.1 2-3.woody.9_sparc.deb
libpng libpng 1.0.15
-
Ubuntu libpng10-0_1.0.15-6ubuntu1_amd64.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng/libpng10-0 _1.0.15-6ubuntu1_amd64.deb -
Ubuntu libpng10-0_1.0.15-6ubuntu1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng10-0_1.0 .15-6ubuntu1_i386.deb -
Ubuntu libpng10-0_1.0.15-6ubuntu1_powerpc.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng10-0_1.0 .15-6ubuntu1_powerpc.deb -
Ubuntu libpng10-dev_1.0.15-6ubuntu1_amd64.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng/libpng10-d ev_1.0.15-6ubuntu1_amd64.deb -
Ubuntu libpng10-dev_1.0.15-6ubuntu1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng10-dev_1 .0.15-6ubuntu1_i386.deb -
Ubuntu libpng10-dev_1.0.15-6ubuntu1_powerpc.de
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng10-dev_1 .0.15-6ubuntu1_powerpc.de -
Ubuntu libpng2-dev_1.0.15-6ubuntu1_all.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng/libpng2-de v_1.0.15-6ubuntu1_all.deb -
Ubuntu libpng2_1.0.15-6ubuntu1_all.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng/libpng2_1. 0.15-6ubuntu1_all.deb
libpng libpng3 1.2.1
-
Debian libpng-dev_1.2.1-1.1.woody.9_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_alpha.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_arm.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_hppa.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_i386.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_ia64.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_m68k.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_mips.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_mipsel.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_powerpc.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_s390.deb -
Debian libpng-dev_1.2.1-1.1.woody.9_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng-dev_1 .2.1-1.1.woody.9_sparc.deb -
Debian libpng3_1.2.1-1.1.woody.9_alpha.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_alpha.deb -
Debian libpng3_1.2.1-1.1.woody.9_arm.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_arm.deb -
Debian libpng3_1.2.1-1.1.woody.9_hppa.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_hppa.deb -
Debian libpng3_1.2.1-1.1.woody.9_i386.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_i386.deb -
Debian libpng3_1.2.1-1.1.woody.9_ia64.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_ia64.deb -
Debian libpng3_1.2.1-1.1.woody.9_m68k.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_m68k.deb -
Debian libpng3_1.2.1-1.1.woody.9_mips.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_mips.deb -
Debian libpng3_1.2.1-1.1.woody.9_mipsel.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_mipsel.deb -
Debian libpng3_1.2.1-1.1.woody.9_powerpc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_powerpc.deb -
Debian libpng3_1.2.1-1.1.woody.9_s390.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_s390.deb -
Debian libpng3_1.2.1-1.1.woody.9_sparc.deb
Debian GNU/Linux 3.0 alias woody
http://security.debian.org/pool/updates/main/libp/libpng3/libpng3_1.2. 1-1.1.woody.9_sparc.deb
libpng libpng3 1.2.5
-
SuSE libpng-1.2.5-182.10.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libpng-1.2.5-182. 10.i586.patch.rpm -
SuSE libpng-1.2.5-182.10.x86_64.patch.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libpng-1.2.5- 182.10.x86_64.patch.rpm -
SuSE libpng-1.2.5-194.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libpng-1.2.5-194. i586.patch.rpm -
SuSE libpng-1.2.5-194.x86_64.patch.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libpng-1.2.5- 194.x86_64.patch.rpm -
SuSE libpng-1.2.5-182.10.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/libpng-1.2.5-182. 10.i586.rpm -
SuSE libpng-1.2.5-182.10.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/libpng-1.2.5- 182.10.x86_64.rpm -
SuSE libpng-1.2.5-194.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/libpng-1.2.5-194. i586.rpm -
SuSE libpng-1.2.5-194.x86_64.rpm
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/libpng-1.2.5- 194.x86_64.rpm -
Ubuntu libpng12-0-udeb_1.2.5.0-7ubuntu1_amd64.udeb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- 0-udeb_1.2.5.0-7ubuntu1_amd64.udeb -
Ubuntu libpng12-0-udeb_1.2.5.0-7ubuntu1_i386.udeb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- 0-udeb_1.2.5.0-7ubuntu1_i386.udeb -
Ubuntu libpng12-0-udeb_1.2.5.0-7ubuntu1_powerpc.udeb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- 0-udeb_1.2.5.0-7ubuntu1_powerpc.udeb -
Ubuntu libpng12-0_1.2.5.0-7ubuntu1_amd64.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- 0_1.2.5.0-7ubuntu1_amd64.deb -
Ubuntu libpng12-0_1.2.5.0-7ubuntu1_i386.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- 0_1.2.5.0-7ubuntu1_i386.deb -
Ubuntu libpng12-0_1.2.5.0-7ubuntu1_powerpc.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng3/libpng12-0_1. 2.5.0-7ubuntu1_powerpc.deb -
Ubuntu libpng12-dev_1.2.5.0-7ubuntu1_amd64.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng12- dev_1.2.5.0-7ubuntu1_amd64.deb -
Ubuntu libpng12-dev_1.2.5.0-7ubuntu1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng3/libpng12-dev_ 1.2.5.0-7ubuntu1_i386.deb -
Ubuntu libpng12-dev_1.2.5.0-7ubuntu1_powerpc.deb
http://security.ubuntu.com/ubuntu/pool/main/libp/libpng3/libpng12-dev_ 1.2.5.0-7ubuntu1_powerpc.deb -
Ubuntu libpng3-dev_1.2.5.0-7ubuntu1_all.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng3-d ev_1.2.5.0-7ubuntu1_all.deb -
Ubuntu libpng3_1.2.5.0-7ubuntu1_all.deb
http://security.ubuntu.com/ubuntu/pool/universe/libp/libpng3/libpng3_1 .2.5.0-7ubuntu1_all.deb
References
LibPNG Graphics Library Image Height Integer Overflow Vulnerability
References:
References:
- [USN-1-1] PNG library vulnerabilities (Ubuntu)
- libpng Homepage (libpng)