REDHAT-BUG-2482481: Buffer Overflow

Published May 28, 2026
·
Updated

A heap buffer overflow exists in RPM's NDB database backend (lib/backend/ndb/rpmpkg.c) due to unchecked 32-bit arithmetic when parsing the slot table. The slotnpages value is read directly from the on-disk NDB header and used in a 32-bit multiplication (slotnpages (PAGESIZE / SLOTSIZE)) to size a heap allocation. A crafted Packages.db can supply a slotnpages value that wraps this product to a small number, causing xcalloc to allocate an undersized buffer. The subsequent loop iterates over the full unwrapped page count, writing pkgslot entries past the heap boundary before per-slot validation runs. Exploitation requires the victim to open a crafted NDB database file with RPM tooling, and NDB is not the default backend in Fedora or RHEL (both default to sqlite).

Affected Software

1 affected component
RPM RPM

Event History

May 28, 2026
Data Sourced
via Red Hat·05:41 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2482481?

The severity of REDHAT-BUG-2482481 is low.

2

What causes the vulnerability REDHAT-BUG-2482481?

REDHAT-BUG-2482481 is caused by a heap buffer overflow in RPM's NDB database backend due to unchecked 32-bit arithmetic.

3

How do I fix REDHAT-BUG-2482481?

To fix REDHAT-BUG-2482481, update your RPM software to the latest version where this vulnerability has been addressed.

4

What types of vulnerabilities are associated with REDHAT-BUG-2482481?

REDHAT-BUG-2482481 is associated with Buffer Overflow and SQL Injection vulnerabilities.

5

When was REDHAT-BUG-2482481 published?

REDHAT-BUG-2482481 was published on May 28, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203