CVE-2005-3627: Xpdf - Buffer Overflow
- Cve: CVE-2005-3627
- Name: Xpdf - Buffer Overflow
- Description: Stream.cc in Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to modify memory and possibly execute arbitrary code via a DCTDecode stream with (1) a large "number of components" value that is not checked by DCTStream::readBaselineSOF or DCTStream::readProgressiveSOF, (2) a large "Huffman table index" value that is not checked by DCTStream::readHuffmanTables, and (3) certain uses of the scanInfo.numComps value by DCTStream::readScanInfo.
- Impact: Attackers can modify memory and possibly execute arbitrary code through crafted PDF streams, leading to full system compromise.
- Remediation: Update to the latest version of Xpdf and related products that address this vulnerability or apply patches provided by the maintainers.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious PDF with specific DCTDecode streams
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
- Epss score: 0.05521
- Epss percentile: 0.93006
- Assignee: [email protected]
- Published at: 2005-12-31T05:00:00Z
- Age in days: 7633
- Modified at: 2026-06-16T22:17:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 86
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2005-3627
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://scary.beasts.org/security/CESA-2005-003.txt | nvd | 2005-12-31 |
References
Same in every row:
- Source: nvd
- Tags: Patch, Vendor Advisory
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xpdf:xpdf | all versions | no | nvd | /v1/products/xpdf/xpdf |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2005-12-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts