CVE-2012-0815 json
The headerVerifyInfo function in lib/header.c in RPM before 4.9.1.3 allows remote attackers to cause a denial of service (crash) and possib…
published 2012-06-04 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0842
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The headerVerifyInfo function in lib/header.c in RPM before 4.9.1.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a negative value in a region offset of a package header, which is not properly handled in a numeric range comparison.
Patch / fix
- rpm Debian 14, Debian 13, Debian 12 4.9.1.3-1
debian advisories DEBIAN-CVE-2012-0815
- rpm RHEL 5 4.4.2.3-28.el5_8
- rpm RHEL 6 4.8.0-19.el6_2.1
- popt RHEL 5 1.10.2.3-28.el5_8
- rpm RHEL 3 ELS 4.2.3-36_nonptl
- rpm RHEL 4 ELS 4.3.3-36_nonptl.el4
- rpm RHEL 5.3 MISSION_CRITICAL 4.4.2.3-9.el5_3.3
- rpm RHEL 5.6 EUS 4.4.2.3-22.el5_6.3
- rpm RHEL 6.0 EUS 4.8.0-12.el6_0.2
red hat advisories RHSA-2012:0451
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-0815 updated cvss 7.6
rpm: incorrect handling of negated offsets in headerVerifyInfo()
-
Red Hat Enterprise Linux (v. 5 server) rpm 4.4.2.3-28.el5_8, popt 1.10.2.3-28.el5_8, rpm-libs 4.4.2.3-28.el5_8, rpm-build 4.4.2.3-28.el5_8, rpm-python 4.4.2.3-28.el5_8, rpm-apidocs 4.4.2.3-28.el5_8 Red Hat Enterprise Linux AS (v. 3 ELS) rpm 4.2.3-36_nonptl, popt 1.8.2-36_nonptl, rpm-libs 4.2.3-36_nonptl, rpm-build 4.2.3-36_nonptl, rpm-python 4.2.3-36_nonptl Red Hat Enterprise Linux AS (v. 4 ELS) rpm 4.3.3-36_nonptl.el4, popt 1.9.1-36_nonptl.el4, rpm-libs 4.3.3-36_nonptl.el4, rpm-build 4.3.3-36_nonptl.el4, rpm-python 4.3.3-36_nonptl.el4 Red Hat Enterprise Linux Desktop (v. 5 client) rpm 4.4.2.3-28.el5_8, popt 1.10.2.3-28.el5_8, rpm-libs 4.4.2.3-28.el5_8, rpm-python 4.4.2.3-28.el5_8 Red Hat Enterprise Linux Desktop (v. 6) rpm 4.8.0-19.el6_2.1, rpm-libs 4.8.0-19.el6_2.1, rpm-python 4.8.0-19.el6_2.1 Red Hat Enterprise Linux Desktop Optional (v. 6) rpm 4.8.0-19.el6_2.1, rpm-cron 4.8.0-19.el6_2.1, rpm-build 4.8.0-19.el6_2.1, rpm-apidocs 4.8.0-19.el6_2.1fixed: vendor fix RHSA-2012:0451
+15 more productsfewer
Red Hat Enterprise Linux ES (v. 3 ELS) rpm 4.2.3-36_nonptl, popt 1.8.2-36_nonptl, rpm-libs 4.2.3-36_nonptl, rpm-build 4.2.3-36_nonptl, rpm-python 4.2.3-36_nonptl Red Hat Enterprise Linux ES (v. 4 ELS) rpm 4.3.3-36_nonptl.el4, popt 1.9.1-36_nonptl.el4, rpm-libs 4.3.3-36_nonptl.el4, rpm-build 4.3.3-36_nonptl.el4, rpm-python 4.3.3-36_nonptl.el4 Red Hat Enterprise Linux EUS (v. 5.6 server) rpm 4.4.2.3-22.el5_6.3, popt 1.10.2.3-22.el5_6.3, rpm-libs 4.4.2.3-22.el5_6.3, rpm-build 4.4.2.3-22.el5_6.3, rpm-python 4.4.2.3-22.el5_6.3, rpm-apidocs 4.4.2.3-22.el5_6.3 Red Hat Enterprise Linux HPC Node (v. 6) rpm 4.8.0-19.el6_2.1, rpm-libs 4.8.0-19.el6_2.1, rpm-python 4.8.0-19.el6_2.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) rpm 4.8.0-19.el6_2.1, rpm-cron 4.8.0-19.el6_2.1, rpm-build 4.8.0-19.el6_2.1, rpm-apidocs 4.8.0-19.el6_2.1 Red Hat Enterprise Linux Long Life (v. 5.3 server) rpm 4.4.2.3-9.el5_3.3, popt 1.10.2.3-9.el5_3.3, rpm-libs 4.4.2.3-9.el5_3.3, rpm-build 4.4.2.3-9.el5_3.3, rpm-python 4.4.2.3-9.el5_3.3, rpm-apidocs 4.4.2.3-9.el5_3.3 Red Hat Enterprise Linux Server (v. 6) rpm 4.8.0-19.el6_2.1, rpm-libs 4.8.0-19.el6_2.1, rpm-build 4.8.0-19.el6_2.1, rpm-python 4.8.0-19.el6_2.1 Red Hat Enterprise Linux Server EUS (v. 6.0) rpm 4.8.0-12.el6_0.2, rpm-libs 4.8.0-12.el6_0.2, rpm-build 4.8.0-12.el6_0.2, rpm-python 4.8.0-12.el6_0.2 Red Hat Enterprise Linux Server EUS (v. 6.1) rpm 4.8.0-16.el6_1.2, rpm-libs 4.8.0-16.el6_1.2, rpm-build 4.8.0-16.el6_1.2, rpm-python 4.8.0-16.el6_1.2 Red Hat Enterprise Linux Server Optional (v. 6) rpm 4.8.0-19.el6_2.1, rpm-cron 4.8.0-19.el6_2.1, rpm-apidocs 4.8.0-19.el6_2.1 Red Hat Enterprise Linux Server Optional EUS (v. 6.0) rpm 4.8.0-12.el6_0.2, rpm-cron 4.8.0-12.el6_0.2, rpm-apidocs 4.8.0-12.el6_0.2 Red Hat Enterprise Linux Server Optional EUS (v. 6.1) rpm 4.8.0-16.el6_1.2, rpm-cron 4.8.0-16.el6_1.2, rpm-apidocs 4.8.0-16.el6_1.2 Red Hat Enterprise Linux Workstation (v. 6) rpm 4.8.0-19.el6_2.1, rpm-libs 4.8.0-19.el6_2.1, rpm-build 4.8.0-19.el6_2.1, rpm-python 4.8.0-19.el6_2.1 Red Hat Enterprise Linux Workstation Optional (v. 6) rpm 4.8.0-19.el6_2.1, rpm-cron 4.8.0-19.el6_2.1, rpm-apidocs 4.8.0-19.el6_2.1 Red Hat RHEL Desktop Workstation (v. 5 client) rpm 4.4.2.3-28.el5_8, rpm-build 4.4.2.3-28.el5_8, rpm-apidocs 4.4.2.3-28.el5_8
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
4.23% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
rpm.org
/wiki/Releases/4.9.1.3
patch
-
rhn.redhat.com
/errata/RHSA-2012-0531.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:056
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0451.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078907.html
vendor-advisory
-
ubuntu.com
/usn/USN-1695-1
vendor-advisory
-
hermes.opensuse.org
/messages/14440932
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078819.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/077960.html
vendor-advisory
-
hermes.opensuse.org
/messages/14441362
vendor-advisory
-
secunia.com
/advisories/48716
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/48651
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/49110
third-party-advisory, vendor-advisory
- oracle.com /technetwork/topics/security/ovmbulletinjul2016-3090546.html
-
securitytracker.com
/id?1026882
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=744104
- rpm.org /gitweb?p=rpm.git%3Ba=commitdiff%3Bh=472e569562d4c90d7a298080e0052856aa7fa86b
-
securityfocus.com
/bid/52865
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/74581
vdb-entry
-
osvdb.org
/81009
vdb-entry
- rpm.org /gitweb?p=rpm.git%3Ba=commitdiff%3Bh=858a328cd0f7d4bcd8500c78faaf00e4f8033df6
Sources
- CVE List CVE-2012-0815
- NVD CVE-2012-0815
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.