Skip to content
Fencer Intel
medium 6.3

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-python
    affected: 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

Sources

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.