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

Secunia Advisory SA17897

Xpdf Multiple Buffer Overflow Vulnerabilities
Secunia Advisory SA17897
Secunia VIM 4.0 - Free Trial
Release Date 2005-12-06
   
Popularity 18,234 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact DoS
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Xpdf 3.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2005-3191 CVSS score available to Secunia VIM customers
CVE-2005-3192 CVSS score available to Secunia VIM customers
CVE-2005-3193 CVSS score available to Secunia VIM customers
  

Description

infamous41md has reported some vulnerabilities in xpdf, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially to compromise a user's system.

1) A boundary error exists in the "DCTStream::readBaselineSOF()" function in "xpdf/Stream.cc" when copying data from a PDF file to a heap-based buffer. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with an overly large "numComps" value.

2) A boundary error exists in the "DCTStream::readProgressiveSOF()" function in "xpdf/Stream.cc" when copying data from a PDF file to a heap-based buffer. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with an overly large "numComps" value.

3) An error exists in the "StreamPredictor::StreamPredictor()" function in "xpdf/Stream.cc" when using the "numComps" value to calculate the memory size to be allocated by "gmalloc()". This can be exploited to cause "gmalloc()" to allocate less memory than required, which will lead to a heap-based buffer overflow when data is copied from the PDF file to the allocated memory.

4) An error exists in the "JPXStream::readCodestream()" function in "xpdf/JPXStream.cc" when using the "nXTiles" and "nYTiles" values from a PDF file to copy data from the file into allocated memory. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with overly large "nXTiles" and "nYTiles" values.

Successful exploitation of the vulnerabilities requires that the user is e.g. tricked into opening a malicious PDF file.

The vulnerabilities have been reported in version 3.01. Prior versions may also be affected.


Solution
Update to version 3.01pl1.
Further details available to Secunia VIM customers

Provided and/or discovered by
infamous41md

Original Advisory
iDEFENSE:
http://www.idefense.com/application/poi/display?id=342&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=343&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=344&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=345&type=vulnerabilities

Deep Links
Links available to Secunia VIM customers


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: Xpdf Multiple Buffer Overflow Vulnerabilities
 
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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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