cve.bz

CVE-2012-5644

5.5 mediumEPSS 0.4%Fix available

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
libuser has information disclosure when moving user's home directory

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-5644 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-5644?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-5644?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-5644 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libuser_project:libuserbefore 0.59
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora18
redhat:enterprise_linux5.0
redhat:enterprise_linux6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libuser1:0.60~dfsg-1DEBIAN-CVE-2012-5644
Ubuntu25.10, 26.04:LTS, 26.10 and 1 morelibuserno fix listedUBUNTU-CVE-2012-5644

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Red Hat's mitigation

There are several restrictions to successful exploitation of this flaw:

~~~

1. ONLY applications compiled with libuser are affected. The affected code is hit only when a move operation is conducted on user home directory.

2. The attacker needs to have a shell account on the target machine.

3. Since this is a TOCTOU attack, precise timing is required for the attack. The attacker needs to know exactly when the move directory is moved in order successfully exploit this flaw.

~~~

Any other application acting on user directories (not compiled with libuser) for example usermod/userdel are not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5libuserWill not fix
Red Hat Enterprise Linux 6libuserWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-5644.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON