Input validation error in GNU C Library (glibc) - CVE-2010-0296

 

Input validation error in GNU C Library (glibc) - CVE-2010-0296

Published: February 13, 2023 / Updated: June 3, 2025


Vulnerability identifier: #VU110123
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-0296
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The encode_name macro in misc/mntent_r.c in the GNU C Library (aka glibc or libc6) 2.11.1 and earlier, as used by ncpmount and mount.cifs, does not properly handle newline characters in mountpoint names, which allows local users to cause a denial of service (mtab corruption), or possibly modify mount options and gain privileges, via a crafted mount request.


Affected software

GNU C Library (glibc)
Gentoo Linux
sys-libs/glibc

How to mitigate CVE-2010-0296

Install update from vendor's website.

sys-libs/glibc - update to 2.11.2-r3

External References

Related Security Bulletins