Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2007-3387: Integer overflow in the StreamPredictor::StreamPredictor function in xpdf 3.02, as used in (1) poppler before

53
This week
MEDIUM 6.8WATCHLISTUPGRADEUPGRADEUPGRADE

CVE-2007-3387 is a medium-severity flaw (CVSS 6.8) affecting cups, poppler, gpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 this priority

  • EPSS top 5%: very likely to be exploited
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score6.8 (Medium)
EPSS exploit chance8.6% (top 5%)
CISA exploited listNo
WeaknessCWE-190
Published2007-07-30
Last modified2026-06-16
Publisher (CNA): Red Hat, Inc. · Vendor: apple · canonical · debian · freedesktop · gpdf project · xpdfreader

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apple cups UPGRADE
Affected: <= 1.3.11
Fixed in: newer than 1.3.11
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy cups || rpm -q cups || cups --version
2. UPGRADE to newer than 1.3.11 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade cups
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade cups
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
freedesktop poppler UPGRADE
Affected: < 0.5.91
Fixed in: 0.5.91
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy poppler || rpm -q poppler || poppler --version
2. UPGRADE to 0.5.91 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade poppler
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade poppler
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
gpdf project gpdf UPGRADE
Affected: < 2.8.2
Fixed in: 2.8.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy gpdf || rpm -q gpdf || gpdf --version
2. UPGRADE to 2.8.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gpdf
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gpdf
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
xpdfreader xpdf DOWNGRADE
Affected: 3.02
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.02
1. Check installed version
apt-cache policy xpdf || rpm -q xpdf || xpdf --version
2. No fixed release: DOWNGRADE to a release before 3.02 (Debian / Ubuntu)
apt-cache madison xpdf sudo apt install xpdf=<VERSION_BEFORE_3.02> sudo apt-mark hold xpdf
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list xpdf sudo dnf downgrade xpdf-<VERSION_BEFORE_3.02> sudo dnf versionlock add xpdf
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 3.1 · 4.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
canonical ubuntu linux MITIGATE
Affected: 6.06 · 6.10 · 7.04
Fixed in: no fixed release known
Safe to downgrade to: a release before 6.06
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2007-3387?

cups: upgrade to newer than 1.3.11; poppler: upgrade to 0.5.91; gpdf: upgrade to 2.8.2. Exact commands for each OS are on this page.

Is CVE-2007-3387 being exploited?

CVE-2007-3387 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2007-3387 affect?

CVE-2007-3387 affects cups, poppler, gpdf. Severity is medium (CVSS 6.8). 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

How urgent is CVE-2007-3387?

Priority 53/100. EPSS top 5%: very likely to be exploited; On your watchlist

Software pages

Ubuntu vulnerabilities · Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.