Incorrect Calculation of Buffer Size Affecting rpm-build package, versions <0:4.3.3-36_nonptl.el4


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.29% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RPMBUILD-9839440
  • published28 Apr 2025
  • disclosed3 Apr 2012

Introduced: 3 Apr 2012

CVE-2012-0060  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade RHEL:10 rpm-build to version 0:4.3.3-36_nonptl.el4 or higher.
This issue was patched in RHSA-2012:0451.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rpm-build package and not the rpm-build package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

RPM before 4.9.1.3 does not properly validate region tags, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an invalid region tag in a package header to the (1) headerLoad, (2) rpmReadSignature, or (3) headerVerify function.

CVSS Base Scores

version 3.1