|
Pnmtopng "alphas_of_color" and "read_text" Buffer Overflow Vulnerabilities
|
|
Secunia Advisory:
|
SA17544
|
|
|
Release Date:
|
2005-11-15
|
|
Last Update:
|
2005-11-22
|
|
Popularity:
|
6,366 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
DoS System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Pnmtopng 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2005-3632 CVE-2005-3662
|
|
Description: Two vulnerabilities have been reported in pnmtopng, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially to compromise a vulnerable system.
1) A boundary error exists when writing RGBA-palette PNG files. This can be exploited to crash pnmtopng and may allow arbitrary code execution via a specially crafted input file with exactly 256 colours.
2) A boundary error exists in "read_text()" when reading the text chunk of an input file. This can be exploited to cause a stack-based buffer overflow when the text chunk exceeds 256 bytes.
Successful exploitation requires that pnmtopng is used with the "-alpha" or the "-text" command line, and e.g. pnmtopng is used in a CGI application that allows remote users to submit image files for processing, or by tricking a user to use pnmtopng with a malicious ".pnm" file.
The vulnerabilities have been reported in versions prior to 2.39.
Note: Several potential malloc allocation overflow bugs have also been fixed.
Solution: Update to version 2.39.
http://sourceforge.net/project/showfi...ackage_id=88579&release_id=370545
Provided and/or discovered by: Reported by vendor.
Changelog: 2005-11-22: Added CVE reference. Added information about additional vulnerability. Updated "Name" and "Description" sections.
Original Advisory: http://sourceforge.net/project/shownotes.php?release_id=370545
Other References: SA17221:
http://secunia.com/advisories/17221/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|