Integer overflow in glibc memalign-family functions leads to heap corruption
CVE-2026-0861 is an integer overflow vulnerability in the GNU C Library (glibc) memalign allocation family affecting versions 2.30 through 2.42. The issue occurs when excessively large alignment values are passed to memalign, posix_memalign, or aligned_alloc; related descriptions also mention valloc and pvalloc. If the caller supplies an alignment large enough to cause arithmetic on allocation size/alignment metadata to overflow size_t, the resulting miscalculation can lead to heap corruption. The advisory states exploitation requires attacker control over both the requested allocation size and the alignment argument. The size must be close to PTRDIFF_MAX, and the malicious alignment values are highly constrained: for memalign, roughly in the range [2^62 + 1, 2^63], and for posix_memalign and aligned_alloc, exactly 2^63. In typical software, alignment arguments are usually fixed, trusted values such as page size or structure alignment, which makes practical exploitation less common.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A glibc vulnerability patched in IPFire Core Update 200.
Integer overflow in glibc memory-alignment allocation functions (memalign/posix_memalign/aligned_alloc) that can result in heap corruption under specific, uncommon argument conditions.
An integer overflow (CWE-190) in GNU C Library (glibc) memalign-family functions when given an excessively large alignment value, potentially leading to heap corruption.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.