Unbounded Memory Allocation Vulnerability in Quill by Anchore
CVE-2026-31961
What is CVE-2026-31961?
Quill, a tool developed by Anchore for macOS binary signing and notarization, contains an unbounded memory allocation vulnerability affecting versions prior to v0.7.1. This vulnerability arises when the tool processes attacker-controlled Mach-O binaries. Exploiting this vulnerability can result in memory exhaustion, leading to denial of service. The issue stems from the way Quill parses size and count fields from the LC_CODE_SIGNATURE load command and other embedded structures without proper validation, allowing an attacker to craft a malicious binary with absurdly large field values. As a result, excessive memory allocation can occur, potentially crashing the host process during the parsing of untrusted Mach-O files. The vulnerability has been addressed in version 0.7.1.
Affected Version(s)
quill < 0.7.1
