oss-sec mailing list archives
Re: Re: CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c)
From: Glenn Randers-Pehrson <glennrp () gmail com>
Date: Fri, 11 Dec 2015 10:41:52 -0500
On Fri, Dec 11, 2015 at 10:36 AM, <cve-assign () mitre org> wrote:
...there is a underflow read in png_check_keyword in pngwutil.c inlibpng-1.2.54if the data of "key" is only ' ' (0x20), it will read a byte before thebuffer in line 1288.it also impacts libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 .The bug was introduced in libpng-0.90, was fixed in libpng-1.6.0, andwill befixed in libpng-1.0.66, 1.2.56, 1.4.19, and 1.5.26.https://sourceforge.net/p/libpng/bugs/244/This says the problem was on a "1288 while (kp == ' ')" line but that seems very confusing because that line doesn't appear to be present in libpng-1.2.54 or any other version. As far as we can tell, the unpatched code has while (*kp == ' ') and the patched code has while (key_len && *kp == ' ')
That's correct. The bug tracker at SourceForge has an unpleasant effect of removing asterisks, backticks, and whatnot from bug reports, thereby making the reports very confusing. Glenn
Current thread:
- CVE request - Linux kernel - Fix handling of stored error in a negatively instantiated user key Wade Mealing (Dec 08)
- CVE request - Linux kernel - Fix handling of stored error in a negatively instantiated user key xiaoqixue_1 (Dec 09)
- CVE request - a out of bound read bug is found in libdwarf xiaoqixue_1 (Dec 09)
- Re: CVE request - a out of bound read bug is found in libdwarf cve-assign (Dec 09)
- CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c) xiaoqixue_1 (Dec 10)
- Re: CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c) Glenn Randers-Pehrson (Dec 10)
- Re: CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c) Glenn Randers-Pehrson (Dec 17)
- Re: CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c) cve-assign (Dec 11)
- Re: Re: CVE request - read underflow in libpng 1.2.55, 1.0.65, 1.4.18, and 1.5.25 (pngwutil.c) Glenn Randers-Pehrson (Dec 11)
- CVE request - a out of bound read bug is found in libdwarf xiaoqixue_1 (Dec 09)
- CVE request - Linux kernel - Fix handling of stored error in a negatively instantiated user key xiaoqixue_1 (Dec 09)
