CVE-2005-3191: Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineS
CVE-2005-3191 is a medium-severity flaw (CVSS 5.1) affecting xpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineSOF functions in the DCT stream parsing code (Stream.cc) in xpdf 3.01 and earlier, as used in products such as (a) Poppler, (b) teTeX, (c) KDE kpdf, (d) pdftohtml, (e) KOffice KWord, (f) CUPS, and (g) libextractor allow user-assisted attackers to cause a denial of service (heap corruption) and possibly execute arbitrary code via a crafted
Why this priority
- EPSS top 9%: very likely to be exploited
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.1 (Medium) |
| EPSS exploit chance | 4.1% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2005-12-07 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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-2005-3191?
xpdf: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2005-3191 being exploited?
CVE-2005-3191 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-2005-3191 affect?
CVE-2005-3191 affects xpdf. Severity is medium (CVSS 5.1). Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineSOF functions in the DCT stream parsing code (Stream.cc) in xpdf 3.01 and earlier, as used in products such as (a) Poppler, (b) teT
How urgent is CVE-2005-3191?
Priority 41/100. EPSS top 9%: very likely to be exploited
Related CVEs
- CVE-2024-7868 HIGH 8.2 UPGRADE In Xpdf 4.05 (and earlier), invalid header info in a DCT (JPEG) stream can lead to an uninitialized variable i
- CVE-2024-7867 MEDIUM 6.2 UPGRADE In Xpdf 4.05 (and earlier), very large coordinates in a page box can cause an integer overflow and divide-by-z
- CVE-2024-7866 MEDIUM 5.5 UPGRADE In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack ov
- CVE-2024-4568 LOW 2.9 UPGRADE In Xpdf 4.05 (and earlier), a PDF object loop in the PDF resources leads to infinite recursion and a stack ove
- CVE-2024-4141 LOW 2.9 UPGRADE Out-of-bounds array write in Xpdf 4.05 and earlier, triggered by an invalid character code in a Type 1 font