CVE-2026-0861: Integer overflow in GNU C Library memalign-family functions
- Vendor
- GNU Project
CVE-2026-0861 is an integer overflow vulnerability in the GNU C Library (glibc) versions 2.30 through 2.42. An excessively large alignment argument combined with an allocation size near PTRDIFF_MAX can overflow size_t in memalign, posix_memalign, or aligned_alloc, potentially causing heap corruption. Exploitation requires attacker control over both arguments. Typical applications use fixed or tightly constrained alignment values, substantially limiting practical exposure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Heap corruption can cause application crashes and denial of service and could potentially enable arbitrary code execution within the affected process, depending on how the corrupted heap state can be manipulated. Confidentiality and integrity consequences depend on the application's privileges and accessible resources; reliable code execution is not established.
Mitigation
If you can’t patch tonight, do this now.
Prevent untrusted input from controlling allocation alignment. Enforce application-appropriate upper bounds on alignment and allocation size, validate required alignment constraints, and reject combinations that could overflow allocation arithmetic. Power-of-two validation alone is insufficient because an alignment of 2^63 can trigger the vulnerability. Memory-corruption hardening may reduce exploitation opportunities but does not correct the flaw.
Remediation
Patch, then assume compromise.
Upgrade to glibc 2.43 or install a distribution-supported glibc update containing the backported fix for CVE-2026-0861. Backported fixes are available for branches 2.30 through 2.42. Update affected container images and restart or redeploy applications so they use the patched library; rebuild statically linked applications against a fixed library.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-0861 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2026-0861 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-0861?
- Yes. As of Nov 20, 2026, Mallory has reports of a public exploit for CVE-2026-0861.
- Is there a patch for CVE-2026-0861?
- Upgrade to glibc 2.43 or install a distribution-supported glibc update containing the backported fix for CVE-2026-0861. Backported fixes are available for branches 2.30 through 2.42.
- What products are affected by CVE-2026-0861?
- GNU Project Glibc.
- How severe is CVE-2026-0861?
- CVE-2026-0861 has a CVSS v3.1 score of 8.4 (High) and an EPSS score of 0.27% (13th percentile) as of Nov 20, 2026.
Recent activity
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.