CVE-2012-5630 json
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
published 2019-11-25 6 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5515
- cvss
- 6.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Patch / fix
- libuser Debian 14, Debian 13, Debian 12 1:0.60~dfsg-1
debian advisories DEBIAN-CVE-2012-5630
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5630 updated cvss 3.7
libuser: TOCTOU race conditions by copying and removing directory trees
-
Red Hat Enterprise Linux 5 libuser Red Hat Enterprise Linux 6 libuser, libuser-pythonaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 3.3 | AV:L/AC:M/Au:N/C:N/I:P/A:P |
Affected products
- libuser libuser
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
-
access.redhat.com
/security/cve/cve-2012-5630
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-April/102068.html
vendor-advisory, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2012-5630
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2012-5630
issue-tracking, third-party-advisory
-
securityfocus.com
/bid/59285
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2012-5630
- NVD CVE-2012-5630
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.