Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-44605: 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 * (PAGE_SIZE / SLOT_SIZE)) 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).
Fixed packages 33
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3-rpm | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | python3-rpm-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-apidocs | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-build | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-build-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-build-libs | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-build-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-cron | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-debugsource | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-devel | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-devel-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-libs | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-audit | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-audit-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-fapolicyd | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-fapolicyd-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-ima | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-ima-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-prioreset | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-prioreset-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-selinux | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-selinux-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-syslog | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-syslog-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-systemd-inhibit | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-plugin-systemd-inhibit-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-sign | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-sign-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-sign-libs | 0:4.16.1.3-29.amzn2023.0.7 |
| Amazon Linux · 2023 | rpm-sign-libs-debuginfo | 0:4.16.1.3-29.amzn2023.0.7 |
Vulnerabilities 1
-
Medium 5.5
Rpm: heap buffer overflow in ndb slot table parsing
A flaw was found in the RPM Package Manager (RPM). A local user could be affected by a heap buffer overflow vulnerability when processing a specially crafted NDB database file. This issue arises from an error in how RPM handles certain calculations during fil…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-44605.html