CVE-2026-0861 Integer overflow in memalign leads to heap corruption
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
Passing too large an alignment to the memalign suite of functions (memalign, posix_memalign, aligned_alloc) in the GNU C Library version 2.30 to 2.42 may result in an integer overflow, which could consequently result in a heap corruption.
Note that the attacker must have control over both, the size as well as the alignment arguments of the memalign function to be able to exploit this. The size parameter must be close enough to PTRDIFF_MAX so as to overflow size_t along with the large alignment argument. This limits the malicious inputs for the alignment for memalign to the range [1<<62+ 1, 1<<63] and exactly 1<<63 for posix_memalign and aligned_alloc.
Typically the alignment argument passed to such functions is a known constrained quantity (e.g. page size, block size, struct sizes) and is not attacker controlled, because of which this may not be easily exploitable in practice. An application bug could potentially result in the input alignment being too large, e.g. due to a different buffer overflow or integer overflow in the application or its dependent libraries, but that is again an uncommon usage pattern given typical sources of alignments.
Upgrade path
27 packages: 10 fixed, 2 partially fixed, 15 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat cost_management 4 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-server-rhel9:1773273243(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9:1773273070(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/insights-proxy/insights-proxy-container-rhel9:1773685509(Red Hat insights_proxy 1.5 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/rhceph/rhceph-8-rhel9:1774002867(Red Hat ceph_storage 8 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/installer-rhel9:1773668803(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| azure linux glibc(Azure Linux 3.0) | < 2.38-18; All versions | 2.38-18 | Partially fixed |
| cbl-mariner glibc(CBL-Mariner 2.0) | < 2.35-9; All versions | 2.35-9 | Partially fixed |
| debian/glibc(Debian 12) | < 2.36-9+deb12u14; = 2.36-9; = 2.36-9+deb12u1; = 2.36-9+deb12u2 +11 more | 2.36-9+deb12u14 | Fixed |
| debian/glibc(Debian 13) | < 2.41-12+deb13u2; = 2.41-12; = 2.41-12+deb13u1 | 2.41-12+deb13u2 | Fixed |
| debian/glibc(Debian 14) | < 2.42-8; = 2.41-12; = 2.41-13~hurd.0; = 2.41-13~hurd.1 +9 more | 2.42-8 | Fixed |
| GNU glibc | >= 2.30, <= 2.42 | after 2.42 | Fixed |
| redhat/glibc(Red Hat enterprise_linux 10.1) | < 2.39-58.el10_1.7 | 2.39-58.el10_1.7 | Fixed |
| redhat/glibc(Red Hat enterprise_linux 9) | < 2.34-231.el9_7.10 | 2.34-231.el9_7.10 | Fixed |
| redhat/glibc-main(Red Hat hummingbird 1) | < 2.42-11.1.hum1 | 2.42-11.1.hum1 | Fixed |
| The GNU C Library glibc | >= 2.30, <= 2.42 | after 2.42 | Fixed |
| ubuntu/glibc(Ubuntu 22.04) | < 2.35-0ubuntu3.13 | 2.35-0ubuntu3.13 | Fixed |
| ubuntu/glibc(Ubuntu 24.04) | < 2.39-0ubuntu8.7 | 2.39-0ubuntu8.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner glibc(CBL-Mariner:2.0) | All versions | No fix listed |
| cbl-mariner glibc(CBL-Mariner:2.0) | < 2.35-9 | 2.35-9 |
| azure linux glibc(Azure Linux:3.0) | All versions | No fix listed |
| azure linux glibc(Azure Linux:3.0) | < 2.38-18 | 2.38-18 |
| The GNU C Library glibc | >= 2.30, <= 2.42 | No fix listed |
| debian/glibc(Debian:12) | < 2.36-9+deb12u14 | 2.36-9+deb12u14 |
| debian/glibc(Debian:12) | = 2.36-9 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u1 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u10 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u11 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u12 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u13 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u2 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u3 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u4 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u5 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u6 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u7 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u8 | No fix listed |
| debian/glibc(Debian:12) | = 2.36-9+deb12u9 | No fix listed |
| debian/glibc(Debian:13) | < 2.41-12+deb13u2 | 2.41-12+deb13u2 |
| debian/glibc(Debian:13) | = 2.41-12 | No fix listed |
| debian/glibc(Debian:13) | = 2.41-12+deb13u1 | No fix listed |
| debian/glibc(Debian:14) | < 2.42-8 | 2.42-8 |
| debian/glibc(Debian:14) | = 2.41-12 | No fix listed |
Show 32 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/glibc(Debian:14) | = 2.41-13~hurd.0 | No fix listed |
| debian/glibc(Debian:14) | = 2.41-13~hurd.1 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-1 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-2 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-3 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-4 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-5 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-6 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-7 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-8~hurd.1 | No fix listed |
| debian/glibc(Debian:14) | = 2.42-8~hurd.2 | No fix listed |
| ubuntu/glibc(Ubuntu:22.04) | < 2.35-0ubuntu3.13 | 2.35-0ubuntu3.13 |
| redhat/glibc(Red Hat:enterprise_linux:10.1) | < 2.39-58.el10_1.7 | 2.39-58.el10_1.7 |
| redhat/glibc(Red Hat:enterprise_linux:9) | < 2.34-231.el9_7.10 | 2.34-231.el9_7.10 |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat:cost_management:4::el9) | All versions | No fix listed |
| redhat/rhceph/rhceph-8-rhel9:1774002867(Red Hat:ceph_storage:8::el9) | All versions | No fix listed |
| redhat/discovery/discovery-server-rhel9:1773273243(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1773273070(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/glibc-main(Red Hat:hummingbird:1) | < 2.42-11.1.hum1 | 2.42-11.1.hum1 |
| redhat/insights-proxy/insights-proxy-container-rhel9:1773685509(Red Hat:insights_proxy:1.5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1773668803(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/glibc(Ubuntu:24.04) | < 2.39-0ubuntu8.7 | 2.39-0ubuntu8.7 |
| GNU glibc | >= 2.30, <= 2.42 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- sourceware.org exploit
- sourceware.org patch
- www.openwall.com mailing-list patch
- Debian Security Tracker CVE-2026-0861 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8005-1 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:1334 patch vendor-advisory
- RHSA-2026:2786 patch vendor-advisory
- RHSA-2026:82347 patch vendor-advisory
- RHSA-2026:82354 patch vendor-advisory
- RHSA-2026:82372 patch vendor-advisory
- RHSA-2026:82857 patch vendor-advisory
- RHSA-2026:3228 patch vendor-advisory
- RHSA-2026:5606 patch vendor-advisory
- RHSA-2026:4501 patch vendor-advisory
- RHSA-2026:7316 patch vendor-advisory
- RHSA-2026:4655 patch vendor-advisory
- RHSA-2026:4943 patch vendor-advisory
- Red Hat Bugzilla 2429771 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking