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.
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 sourceNVD · 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