Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA17544

Pnmtopng "alphas_of_color" and "read_text" Buffer Overflow Vulnerabilities
Secunia Advisory SA17544
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2005-11-15
Last Update 2005-11-22
   
Popularity 9,471 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact DoS
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
Pnmtopng 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2005-3632 CVSS available in Customer Area
CVE-2005-3662 CVSS available in Customer Area
  

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.
Further details available in Customer Area

Provided and/or discovered by
Reported by vendor.

Changelog
Further details available in Customer Area

Original Advisory
http://sourceforge.net/project/shownotes.php?release_id=370545

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Pnmtopng "alphas_of_color" and "read_text" Buffer Overflow Vulnerabili 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability