Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


xpdf Multiple Integer Overflow Vulnerabilities Advisory Available in Danish 

Secunia Advisory: SA18303  
Release Date: 2006-01-05
Last Update: 2006-02-09

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:Xpdf 2.x
Xpdf 3.x

CVE reference:CVE-2005-3624 (Secunia mirror)
CVE-2005-3625 (Secunia mirror)
CVE-2005-3626 (Secunia mirror)
CVE-2005-3627 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Chris Evans 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) An integer overflow error exists in "Stream.cc:StreamPredictor::StreamPredictor()" when calculating buffer sizes for memory allocation. This can potentially be exploited to overflow the allocated heap memory.

This may be related to #3 in:
SA17897

2) An integer overflow error exists in "Stream.cc::CCITTFaxStream::CCITTFaxStream()" when calculating buffer sizes for memory allocation. This can potentially be exploited to overflow the allocated heap memory.

3) An infinite loop error exists in "Stream.cc::DCTStream::readMarker()" when handling certain malformed input files. This can potentially be exploited to cause a DoS.

4) Missing validation of input parameters in "Stream.cc:DCTStream::readHuffmanTables()" and "Stream.cc:DCTStream::readScanInfo()" can cause out-of-bounds memory access. This can potentially be exploited to overwrite certain memory.

5) Some potential integer overflow error exists in "JBIG2Stream.cc".

The vulnerability affects version 3.01. Other versions may also be affected.

Note: A NULL pointer dereferencing error has also been reported.

Solution:
Apply xpdf-3.01pl2.patch.
ftp://ftp.foolabs.com/pub/xpdf/

Provided and/or discovered by:
Chris Evans

Changelog:
2006-01-06: Updated advisory with information from Chris Evans.
2006-02-09: Updated "Solution" section.

Original Advisory:
Chris Evans:
http://scary.beasts.org/security/b0dfca810501f2da/CESA-2005-003.txt

Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=117481

KDE:
http://www.kde.org/info/security/advisory-20051207-2.txt

Other References:
SA17897:
http://secunia.com/advisories/17897/



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.

10 Related Secunia Security Advisories

1. Xpdf Embedded Fonts Processing Vulnerability
2. Xpdf "Stream.cc" Multiple Vulnerabilities
3. Xpdf "StreamPredictor" Multiple Vulnerabilities
4. Xpdf PDF Splash Image Handling Vulnerability
5. Xpdf Multiple Buffer Overflow Vulnerabilities
6. Xpdf Temporary File Writing Denial of Service
7. Xpdf "Decrypt::makeFileKey2()" Function Buffer Overflow
8. xpdf "doImage()" Buffer Overflow Vulnerability
9. Xpdf Multiple Integer Overflow Vulnerabilities
10. Xpdf and CUPS integer overflow


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
2.
JustSystems Ichitaro Products Unspecified Code Execution Vulnerability
3.
Honeyd "test.sh" Insecure Temporary Files
4.
Red Hat Directory Server Multiple Vulnerabilities
5.
Red Hat Directory Server Denial of Service Vulnerabilities
6.
HP-UX update for Apache
7.
Ampache "gather-message s.sh" Insecure Temporary Files
8.
Tiger "genmsgidx" Insecure Temporary Files
9.
Red Hat update for tomcat
10.
Red Hat update for openoffice.org





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia