Integer overflow in the StreamPredictor::StreamPredictor function in xpdf 3.02, as used…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
Integer overflow in the StreamPredictor::StreamPredictor function in xpdf 3.02, as used in (1) poppler before 0.5.91, (2) gpdf before 2.8.2, (3) kpdf, (4) kdegraphics, (5) CUPS, (6) PDFedit, and other products, might allow remote attackers to execute arbitrary code via a crafted PDF file that triggers a stack-based buffer overflow in the StreamPredictor::getNextLine function.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:* | up to 1.3.11 | Vulnerable | Apple |
| cpe:2.3:a:freedesktop:poppler:*:*:*:*:*:*:*:* | before 0.5.91 | Vulnerable | Freedesktop |
| cpe:2.3:a:gpdf_project:gpdf:*:*:*:*:*:*:*:* | before 2.8.2 | Vulnerable | Gpdf Project |
| cpe:2.3:a:xpdfreader:xpdf:3.02:*:*:*:*:*:*:* | 3.02 | Vulnerable | Xpdfreader |
| cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* | 6.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
- cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:* Versions up to 1.3.11 Vulnerable ·Apple
- cpe:2.3:a:freedesktop:poppler:*:*:*:*:*:*:*:* Versions before 0.5.91 Vulnerable ·Freedesktop
- cpe:2.3:a:gpdf_project:gpdf:*:*:*:*:*:*:*:* Versions before 2.8.2 Vulnerable ·Gpdf Project
- cpe:2.3:a:xpdfreader:xpdf:3.02:*:*:*:*:*:*:* Versions 3.02 Vulnerable ·Xpdfreader
- cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* Versions 6.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
Remediation
Red Hat 6 advisories
- RHSA-2007:0731 Released 2007-08-01 · Red Hat rating Importanttetex security update
- Red Hat Desktop version 3 tetex-1.0.7-67.10, tetex-1.0.7-67.10.i386, tetex-afm-1.0.7-67.10 +9
- Red Hat Enterprise Linux (v. 5 server) tetex-3.0-33.1.el5, tetex-3.0-33.1.el5.i386, tetex-3.0-33.1.el5.ia64 +25
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 tetex-1.0.7-38.5E.11, tetex-1.0.7-38.5E.11.i386, tetex-1.0.7-38.5E.11.ia64 +14
- Red Hat Enterprise Linux AS version 3 tetex-1.0.7-67.10, tetex-1.0.7-67.10.i386, tetex-1.0.7-67.10.ia64 +21
- Red Hat Enterprise Linux AS version 4 tetex-2.0.2-22.0.1.EL4.8, tetex-2.0.2-22.0.1.EL4.8.i386, tetex-2.0.2-22.0.1.EL4.8.ia64 +25
- Red Hat Enterprise Linux Desktop (v. 5 client) tetex-3.0-33.1.el5, tetex-3.0-33.1.el5.i386, tetex-afm-3.0-33.1.el5 +11
- Red Hat Enterprise Linux Desktop version 4 tetex-2.0.2-22.0.1.EL4.8, tetex-2.0.2-22.0.1.EL4.8.i386, tetex-afm-2.0.2-22.0.1.EL4.8 +11
- Red Hat Enterprise Linux ES version 2.1 tetex-1.0.7-38.5E.11, tetex-1.0.7-38.5E.11.i386, tetex-afm-1.0.7-38.5E.11.i386 +6
- Red Hat Enterprise Linux ES version 3 tetex-1.0.7-67.10, tetex-1.0.7-67.10.i386, tetex-1.0.7-67.10.ia64 +15
- Red Hat Enterprise Linux ES version 4 tetex-2.0.2-22.0.1.EL4.8, tetex-2.0.2-22.0.1.EL4.8.i386, tetex-2.0.2-22.0.1.EL4.8.ia64 +18
- Red Hat Enterprise Linux WS version 2.1 tetex-1.0.7-38.5E.11, tetex-1.0.7-38.5E.11.i386, tetex-afm-1.0.7-38.5E.11.i386 +6
- Red Hat Enterprise Linux WS version 3 tetex-1.0.7-67.10, tetex-1.0.7-67.10.i386, tetex-1.0.7-67.10.ia64 +15
- Red Hat Enterprise Linux WS version 4 tetex-2.0.2-22.0.1.EL4.8, tetex-2.0.2-22.0.1.EL4.8.i386, tetex-2.0.2-22.0.1.EL4.8.ia64 +18
- Red Hat Linux Advanced Workstation 2.1 tetex-1.0.7-38.5E.11, tetex-1.0.7-38.5E.11.ia64, tetex-afm-1.0.7-38.5E.11.ia64 +6
- RHSA-2007:0732 Released 2007-07-30 · Red Hat rating Importantpoppler security update
- Red Hat Enterprise Linux (v. 5 server) poppler-0.5.4-4.1.el5, poppler-0.5.4-4.1.el5.i386, poppler-0.5.4-4.1.el5.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) poppler-0.5.4-4.1.el5, poppler-0.5.4-4.1.el5.i386, poppler-utils-0.5.4-4.1.el5 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) poppler-0.5.4-4.1.el5, poppler-devel-0.5.4-4.1.el5, poppler-devel-0.5.4-4.1.el5.i386
- RHSA-2007:0720 Released 2007-07-30 · Red Hat rating Importantcups security update
- Red Hat Desktop version 3 cups-1:1.1.17-13.3.45, cups-1:1.1.17-13.3.45.i386, cups-devel-1:1.1.17-13.3.45 +3
- Red Hat Enterprise Linux (v. 5 server) cups-1:1.2.4-11.5.3.el5, cups-1:1.2.4-11.5.3.el5.i386, cups-1:1.2.4-11.5.3.el5.ia64 +13
- Red Hat Enterprise Linux AS version 3 cups-1:1.1.17-13.3.45, cups-1:1.1.17-13.3.45.i386, cups-1:1.1.17-13.3.45.ia64 +9
- Red Hat Enterprise Linux AS version 4 cups-1:1.1.22-0.rc1.9.20.2, cups-1:1.1.22-0.rc1.9.20.2.i386, cups-1:1.1.22-0.rc1.9.20.2.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) cups-1:1.2.4-11.5.3.el5, cups-1:1.2.4-11.5.3.el5.i386, cups-libs-1:1.2.4-11.5.3.el5 +3
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) cups-1:1.2.4-11.5.3.el5, cups-devel-1:1.2.4-11.5.3.el5, cups-devel-1:1.2.4-11.5.3.el5.i386
- Red Hat Enterprise Linux Desktop version 4 cups-1:1.1.22-0.rc1.9.20.2, cups-1:1.1.22-0.rc1.9.20.2.i386, cups-devel-1:1.1.22-0.rc1.9.20.2 +3
- Red Hat Enterprise Linux ES version 3 cups-1:1.1.17-13.3.45, cups-1:1.1.17-13.3.45.i386, cups-1:1.1.17-13.3.45.ia64 +6
- Red Hat Enterprise Linux ES version 4 cups-1:1.1.22-0.rc1.9.20.2, cups-1:1.1.22-0.rc1.9.20.2.i386, cups-1:1.1.22-0.rc1.9.20.2.ia64 +6
- Red Hat Enterprise Linux WS version 3 cups-1:1.1.17-13.3.45, cups-1:1.1.17-13.3.45.i386, cups-1:1.1.17-13.3.45.ia64 +6
- Red Hat Enterprise Linux WS version 4 cups-1:1.1.22-0.rc1.9.20.2, cups-1:1.1.22-0.rc1.9.20.2.i386, cups-1:1.1.22-0.rc1.9.20.2.ia64 +6
Show 3 more Red Hat advisories
- RHSA-2007:0735 Released 2007-07-30 · Red Hat rating Importantxpdf security update
- Red Hat Desktop version 3 xpdf-1:2.02-10.RHEL3, xpdf-1:2.02-10.RHEL3.i386
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 xpdf-1:0.92-18.RHEL2, xpdf-1:0.92-18.RHEL2.i386, xpdf-1:0.92-18.RHEL2.ia64
- Red Hat Enterprise Linux AS version 3 xpdf-1:2.02-10.RHEL3, xpdf-1:2.02-10.RHEL3.i386, xpdf-1:2.02-10.RHEL3.ia64 +1
- Red Hat Enterprise Linux AS version 4 xpdf-1:3.00-12.RHEL4, xpdf-1:3.00-12.RHEL4.i386, xpdf-1:3.00-12.RHEL4.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 xpdf-1:3.00-12.RHEL4, xpdf-1:3.00-12.RHEL4.i386
- Red Hat Enterprise Linux ES version 2.1 xpdf-1:0.92-18.RHEL2, xpdf-1:0.92-18.RHEL2.i386
- Red Hat Enterprise Linux ES version 3 xpdf-1:2.02-10.RHEL3, xpdf-1:2.02-10.RHEL3.i386, xpdf-1:2.02-10.RHEL3.ia64
- Red Hat Enterprise Linux ES version 4 xpdf-1:3.00-12.RHEL4, xpdf-1:3.00-12.RHEL4.i386, xpdf-1:3.00-12.RHEL4.ia64
- Red Hat Enterprise Linux WS version 2.1 xpdf-1:0.92-18.RHEL2, xpdf-1:0.92-18.RHEL2.i386
- Red Hat Enterprise Linux WS version 3 xpdf-1:2.02-10.RHEL3, xpdf-1:2.02-10.RHEL3.i386, xpdf-1:2.02-10.RHEL3.ia64
- Red Hat Enterprise Linux WS version 4 xpdf-1:3.00-12.RHEL4, xpdf-1:3.00-12.RHEL4.i386, xpdf-1:3.00-12.RHEL4.ia64
- Red Hat Linux Advanced Workstation 2.1 xpdf-1:0.92-18.RHEL2, xpdf-1:0.92-18.RHEL2.ia64
- RHSA-2007:0730 Released 2007-07-30 · Red Hat rating Importantgpdf security update
- Red Hat Enterprise Linux AS version 4 gpdf-2.8.2-7.7, gpdf-2.8.2-7.7.i386, gpdf-2.8.2-7.7.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 gpdf-2.8.2-7.7, gpdf-2.8.2-7.7.i386
- Red Hat Enterprise Linux ES version 4 gpdf-2.8.2-7.7, gpdf-2.8.2-7.7.i386, gpdf-2.8.2-7.7.ia64
- Red Hat Enterprise Linux WS version 4 gpdf-2.8.2-7.7, gpdf-2.8.2-7.7.i386, gpdf-2.8.2-7.7.ia64
- RHSA-2007:0729 Released 2007-07-30 · Red Hat rating Importantkdegraphics security update
- Red Hat Enterprise Linux AS version 4 kdegraphics-7:3.3.1-4.RHEL4, kdegraphics-7:3.3.1-4.RHEL4.i386, kdegraphics-7:3.3.1-4.RHEL4.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) kdegraphics-7:3.5.4-2.el5, kdegraphics-7:3.5.4-2.el5.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) kdegraphics-7:3.5.4-2.el5, kdegraphics-devel-7:3.5.4-2.el5, kdegraphics-devel-7:3.5.4-2.el5.i386
- Red Hat Enterprise Linux Desktop version 4 kdegraphics-7:3.3.1-4.RHEL4, kdegraphics-7:3.3.1-4.RHEL4.i386, kdegraphics-devel-7:3.3.1-4.RHEL4 +1
- Red Hat Enterprise Linux ES version 4 kdegraphics-7:3.3.1-4.RHEL4, kdegraphics-7:3.3.1-4.RHEL4.i386, kdegraphics-7:3.3.1-4.RHEL4.ia64 +3
- Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) kdegraphics-7:3.5.4-2.el5, kdegraphics-7:3.5.4-2.el5.i386, kdegraphics-devel-7:3.5.4-2.el5 +1
- Red Hat Enterprise Linux WS version 4 kdegraphics-7:3.3.1-4.RHEL4, kdegraphics-7:3.3.1-4.RHEL4.i386, kdegraphics-7:3.3.1-4.RHEL4.ia64 +3
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2007:0720, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2007:0720, RHSA-2007:0731, RHSA-2007:0732 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2007:0720, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0730, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0731, RHSA-2007:0732 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0732 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0730, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2007:0720, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0730, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) | Fixed | RHSA-2007:0729 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2007:0720, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:0720, RHSA-2007:0729, RHSA-2007:0730, RHSA-2007:0731, RHSA-2007:0735 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2007:0731, RHSA-2007:0735 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-3387
- 2026-10-03 Alias added: GHSA-v25x-frpw-qg4x
- 2026-10-16 EPSS moved to the 95th–99th percentile
References
Advisory 41
- RHSA-2007:0730
- USN-496-1
- DSA-1355
- ADV-2007-2705
- SUSE-SR:2007:016
- MDKSA-2007:164
- MDKSA-2007:165
- MDKSA-2007:158
- DSA-1350
- DSA-1348
- DSA-1352
- GLSA-200710-08
- DSA-1354
- USN-496-2
- MDKSA-2007:163
- http://www.kde.org/info/security/advisory-20070730-1.txt
- RHSA-2007:0731
- GLSA-200805-13
- RHSA-2007:0720
- GLSA-200709-12
- SSA:2007-316-01
- http://bugs.gentoo.org/show_bug.cgi?id=187139
- http://support.avaya.com/elmodocs2/security/ASA-2007-401.htm
- MDKSA-2007:159
- MDKSA-2007:160
- DSA-1357
- GLSA-200709-17
- RHSA-2007:0732
- DSA-1349
- oval:org.mitre.oval:def:11149
- MDKSA-2007:161
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=248194
- SSA:2007-222-05
- MDKSA-2007:162
- GLSA-200711-34
- RHSA-2007:0729
- GLSA-200710-20
- ADV-2007-2704
- DSA-1347
- RHSA-2007:0735
- SUSE-SR:2007:015
Sources
- CVE-2007-3387 · CVE Program
- CVE-2007-3387 · NVD
- FIRST EPSS
- GHSA-v25x-frpw-qg4x · GitHub Advisory Database · CC BY 4.0
- CVE-2007-3387 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences