Skip to content
Noroxi
CVE-2012-0815· NVD / CVE Program· CNA redhat

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 possibl

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.

MediumCVSS 6.8 · v2.0—No exploit Fix available
Published
Jun 4, 2012
Updated
Jun 16, 2026
EPSS
4.3% · 91th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
27 / 40 · 6.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.3%

Affected systems

VendorProduct
rpmrpm

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • rpm rpmup to 4.9.1.2 inclusive
  • rpm rpm1.2
  • rpm rpm1.3
  • rpm rpm1.3.1
  • rpm rpm1.4
  • rpm rpm1.4.1
  • rpm rpm1.4.2
  • rpm rpm1.4.2/a
  • rpm rpm1.4.3
  • rpm rpm1.4.4
  • rpm rpm1.4.5
  • rpm rpm1.4.6
  • rpm rpm1.4.7
  • rpm rpm2.0
  • rpm rpm2.0.1
  • rpm rpm2.0.10
  • rpm rpm2.0.11
  • rpm rpm2.0.2
  • rpm rpm2.0.3
  • rpm rpm2.0.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12rpmbefore 4.9.1.3-14.9.1.3-1
Debian:6.0rpmbefore 4.8.1-6+squeeze24.8.1-6+squeeze2
Red Hat:enterprise_linux:5::clientpoptbefore 0:1.10.2.3-28.el5_80:1.10.2.3-28.el5_8
Red Hat:enterprise_linux:5::clientrpmbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::clientrpm-debuginfobefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::clientrpm-libsbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::clientrpm-pythonbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::client_workstationrpm-apidocsbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::client_workstationrpm-buildbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:5::client_workstationrpm-develbefore 0:4.4.2.3-28.el5_80:4.4.2.3-28.el5_8
Red Hat:enterprise_linux:6::clientrpmbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-apidocsbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-buildbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-cronbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-debuginfobefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-develbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-libsbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:enterprise_linux:6::clientrpm-pythonbefore 0:4.8.0-19.el6_2.10:4.8.0-19.el6_2.1
Red Hat:rhel_els:3::aspoptbefore 0:1.8.2-36_nonptl0:1.8.2-36_nonptl
Red Hat:rhel_els:3::asrpmbefore 0:4.2.3-36_nonptl0:4.2.3-36_nonptl
Red Hat:rhel_els:3::asrpm-buildbefore 0:4.2.3-36_nonptl0:4.2.3-36_nonptl
Red Hat:rhel_els:3::asrpm-debuginfobefore 0:4.2.3-36_nonptl0:4.2.3-36_nonptl
Red Hat:rhel_els:3::asrpm-develbefore 0:4.2.3-36_nonptl0:4.2.3-36_nonptl
Red Hat:rhel_els:3::asrpm-libsbefore 0:4.2.3-36_nonptl0:4.2.3-36_nonptl

+40

Same product

rpm: all records

Other highest-scoring records for the same primary product.

  • CVE-2014-8118Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section
    42Plan
  • CVE-2011-3378RPM 4.4.x through 4.9.x, probably before 4.9.1.2, allows remote attackers to cause a denial of service (memory corruption) and possibly exec
    39Monitor
  • CVE-2013-6435Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extract
    32Monitor
  • CVE-2017-7500It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changin
    31Monitor
  • CVE-2017-7501It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM.
    31Monitor
  • CVE-2021-20271A flaw was found in RPM's signature check functionality when reading a package file.
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rpm4.9.1.3-1 · Debian:12Package registry (OSV)
red hat:popt0:1.8.2-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm-apidocs0:4.4.2.3-28.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:rpm-build0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm-cron0:4.8.0-19.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:rpm-debuginfo0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm-devel0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm-libs0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)
red hat:rpm-python0:4.2.3-36_nonptl · Red Hat:rhel_els:3::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    P · data or configuration can be modified
    Availability
    P · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    P

    Weakness class (CWE)

    CWE-189 · Numeric Errors

    CVSS vector

    AV:N/AC:M/Au:N/C:P/I:P/A:P

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records