Description
Stack consumption vulnerability in 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 (resource exhaustion) via a regular expression containing adjacent repetition operators, as demonstrated by a {10,}{10,}{10,}{10,} sequence in the proftpd.gnu.c exploit for ProFTPD.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.19-4 | — |
| Debian 13 | glibc | 2.19-4 | — |
| Debian 12 | glibc | 2.19-4 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- GNU libc/regcomp(3) - Multiple Vulnerabilities EDB-15935 · dos · Jan 7, 2011
- GNU glibc - 'regcomp()' Stack Exhaustion Denial of Service EDB-35061 · dos · Dec 7, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 42547 third-party-advisory
- 1024832 vdb-entry
- 20110107 GNU libc/regcomp(3) Multiple Vulnerabilities mailing-list
- VU#912279 third-party-advisory
- 45233 vdb-entry
- 20110107 GNU libc/regcomp(3) Multiple Vulnerabilities mailing-list
- http://cxib.net/stuff/proftpd.gnu.c
- 15935 exploit
- 8003 third-party-advisory
- 20110107 GNU libc/regcomp(3) Multiple Vulnerabilities third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=645859