CVE-2010-0296
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…
Check your servers for CVE-2010-0296
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2010-0296 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 41.0% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2010-0296 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2010-0296RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2010-0296Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2010-0296
trivy image --scanners vuln IMAGE | grep CVE-2010-0296
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- MDVSA-2010:111 mandriva.com · vendor advisory
- GLSA-201011-01 security.gentoo.org · vendor advisory
- 46397 secunia.com · third party advisory
- http://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=ab00f4eac8f4932211259ff87be83144f5211540 sourceware.org
- RHSA-2011:0412 redhat.com · vendor advisory
- USN-944-1 ubuntu.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=559579 bugzilla.redhat.com
- 39900 secunia.com · third party advisory
- SUSE-SA:2010:052 lists.opensuse.org · vendor advisory
- 43830 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html vmware.com
- http://frugalware.org/security/662 frugalware.org
- MDVSA-2010:112 mandriva.com · vendor advisory
- DSA-2058 debian.org · vendor advisory
Other references
- 20111013 VMSA-2011-0012 VMware ESXi and ESX updates to third party libraries and ESX Service Console securityfocus.com · mailing list
- ADV-2010-1246 vupen.com · vdb entry
- ADV-2011-0863 vupen.com · vdb entry
- 1024043 securitytracker.com · vdb entry
- gnuclibrary-encodenamemacro-dos(59240) exchange.xforce.ibmcloud.com · vdb entry
- 20190612 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series seclists.org · mailing list
- 20190613 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series seclists.org · mailing list
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html packetstormsecurity.com
Source: the record CVE-2010-0296 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse