Secunia Logo
 
xpdf Multiple Integer Overflow Vulnerabilities
Secunia Advisory: SA18303
Release Date: 2006-01-05
Last Update: 2006-02-09
Popularity: 10,556 views

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

Software:Xpdf 2.x
Xpdf 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3624
CVE-2005-3625
CVE-2005-3626
CVE-2005-3627


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/


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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. Apple iPhone / iPod touch Multiple Vulnerabilities // 162 views
2. vBulletin Visitor Messages Script Insertion Vulnerability // 68 views
3. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 61 views
4. Sun Java JDK / JRE Multiple Vulnerabilities // 45 views
5. Checkpoint VPN-1 Information Disclosure Vulnerability // 43 views
6. SemanticScuttle Cross-Site Scripting Vulnerabilities // 41 views
7. EMC Control Center SAN Manager Multiple Vulnerabilities // 40 views
8. Easyedit CMS Multiple SQL Injection Vulnerabilities // 35 views
9. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 33 views
10. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 32 views