Integer overflow in memalign leads to heap corruption
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 12 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 12 advisories
- RHSA-2026:82857 Released 2026-10-14 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/cert-manager-operator-bundle
- RHSA-2026:82372 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/cert-manager-operator-rhel9
- RHSA-2026:82354 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/cert-manager-istio-csr-rhel9
Show 9 more Red Hat advisories
- RHSA-2026:82347 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/jetstack-cert-manager-acmesolver-rhel9, registry.redhat.io/cert-manager/jetstack-cert-manager-rhel9
- RHSA-2026:7316 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images glibc-2.42-11.1.hum1@aarch64, glibc-2.42-11.1.hum1@src, glibc-2.42-11.1.hum1@x86_64 +47
- RHSA-2026:5606 Released 2026-03-24 · Red Hat rating ImportantRed Hat Ceph Storage
- Red Hat Ceph Storage 8 registry.redhat.io/rhceph/rhceph-8-rhel9
- RHSA-2026:4943 Released 2026-03-18 · Red Hat rating ImportantRed Hat Update Infrastructure 5.1 security update
- Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9, registry.redhat.io/rhui5/installer-rhel9 +1
- RHSA-2026:4655 Released 2026-03-16 · Red Hat rating ModerateInsights proxy Container Image
- Red Hat Insights proxy 1.5 registry.redhat.io/insights-proxy/insights-proxy-container-rhel9
- RHSA-2026:4501 Released 2026-03-12 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:3228 Released 2026-02-24 · Red Hat rating ImportantCost Management Metrics Operator Update
- Cost Management 4 registry.redhat.io/costmanagement/costmanagement-metrics-rhel9-operator
- RHSA-2026:2786 Released 2026-02-17 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux BaseOS (v. 9) glibc-2.34-231.el9_7.10
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) glibc-static-2.34-231.el9_7.10
- RHSA-2026:1334 Released 2026-01-27 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux AppStream (v. 10) glibc-devel-2.39-58.el10_1.7, glibc-doc-2.39-58.el10_1.7, glibc-locale-source-2.39-58.el10_1.7 +1
- Red Hat Enterprise Linux BaseOS (v. 10) glibc-2.39-58.el10_1.7, glibc-all-langpacks-2.39-58.el10_1.7, glibc-common-2.39-58.el10_1.7 +47
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) glibc-benchtests-2.39-58.el10_1.7, glibc-nss-devel-2.39-58.el10_1.7, glibc-static-2.39-58.el10_1.7 +2
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Cert Manager support for Red Hat OpenShift release 1.18 | Fixed | RHSA-2026:82347, RHSA-2026:82354, RHSA-2026:82372, RHSA-2026:82857 |
| Cost Management 4 | Fixed | RHSA-2026:3228 |
| Red Hat Ceph Storage 8 | Fixed | RHSA-2026:5606 |
| Red Hat Discovery 2 | Fixed | RHSA-2026:4501 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:1334 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:1334 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:2786 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:1334 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:2786 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7316 |
| Red Hat Insights proxy 1.5 | Fixed | RHSA-2026:4655 |
| Red Hat Update Infrastructure 5 | Fixed | RHSA-2026:4943 |
Not affected: 9 products
- Cost Management 4
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux BaseOS (v. 9)
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- Red Hat Hardened Images
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-0861
- 2026-10-03 Alias added: GHSA-5pf6-63v3-88hw
- 2026-10-14 Fix available: RHSA-2026:82372 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82354 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82347 · Red Hat
- 2026-10-15 Fix available: RHSA-2026:82857 · Red Hat
- 2026-10-16 Fix available: Cert Manager support for Red Hat OpenShift release 1.18 · Red Hat
References
More GNU Glibc vulnerabilities
- TI-2023-04522 Glibc: buffer overflow in ld.so leading to privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
- TI-2026-04772 scanf %mc off-by-one heap buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2022-07360 The deprecated compatibility function clnt_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2022-07359 The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2015-06274 Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the… CVSS 3.0HIGH 8.1
Sources
- CVE-2026-0861 · CVE Program
- CVE-2026-0861 · NVD
- FIRST EPSS
- GHSA-5pf6-63v3-88hw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-0861 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences