Skip to content
Fencer Vulns
high 7.2

CVE-2005-4889 json

lib/fsm.c in RPM before 4.4.3 does not properly reset the metadata of an executable file during deletion of the file in an RPM package remo…

published 2010-06-08 16 y ago modified 2026-06-16 4 mo ago also EUVD-2005-4880

cvss
7.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

lib/fsm.c in RPM before 4.4.3 does not properly reset the metadata of an executable file during deletion of the file in an RPM package removal, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file, a related issue to CVE-2010-2059.

Patch / fix

  • rpm Debian 14, Debian 13, Debian 12 4.7.0-1

debian advisories DEBIAN-CVE-2005-4889

  • rpm RHEL 4 4.3.3-33_nonptl.el4_8.1
  • popt RHEL 4 1.9.1-33_nonptl.el4_8.1
  • rpm-libs RHEL 4 4.3.3-33_nonptl.el4_8.1
  • rpm-build RHEL 4 4.3.3-33_nonptl.el4_8.1
  • rpm-python RHEL 4 4.3.3-33_nonptl.el4_8.1

red hat advisories RHSA-2010:0678

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-2005-4889 updated cvss 1.9

rpm: fails to drop SUID/SGID bits on package removal

  • Red Hat Enterprise Linux AS version 4 rpm 4.3.3-33_nonptl.el4_8.1, popt 1.9.1-33_nonptl.el4_8.1, rpm-libs 4.3.3-33_nonptl.el4_8.1, rpm-build 4.3.3-33_nonptl.el4_8.1, rpm-python 4.3.3-33_nonptl.el4_8.1 Red Hat Enterprise Linux Desktop version 4 rpm 4.3.3-33_nonptl.el4_8.1, popt 1.9.1-33_nonptl.el4_8.1, rpm-libs 4.3.3-33_nonptl.el4_8.1, rpm-build 4.3.3-33_nonptl.el4_8.1, rpm-python 4.3.3-33_nonptl.el4_8.1 Red Hat Enterprise Linux ES version 4 rpm 4.3.3-33_nonptl.el4_8.1, popt 1.9.1-33_nonptl.el4_8.1, rpm-libs 4.3.3-33_nonptl.el4_8.1, rpm-build 4.3.3-33_nonptl.el4_8.1, rpm-python 4.3.3-33_nonptl.el4_8.1 Red Hat Enterprise Linux WS version 4 rpm 4.3.3-33_nonptl.el4_8.1, popt 1.9.1-33_nonptl.el4_8.1, rpm-libs 4.3.3-33_nonptl.el4_8.1, rpm-build 4.3.3-33_nonptl.el4_8.1, rpm-python 4.3.3-33_nonptl.el4_8.1
    fixed: vendor fix RHSA-2010:0678

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.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Vulns 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.