CVE-2026-31961
Quill provides simple mac binary signing and notarization from any …
Quill provides simple mac binary signing and notarization from any platform. Quill before version v0.7.1 contains an unbounded memory allocation vulnerability when parsing Mach-O binaries. Exploitation requires that Quill processes an attacker-supplied Mach-O binary, which is most likely in environments such as CI/CD pipelines, shared signing services, or any workflow where externally-submitted binaries are accepted for signing. When parsing a Mach-O binary, Quill reads several size and count fields from the LC_CODE_SIGNATURE load command and embedded code signing structures (SuperBlob, BlobIndex) and uses them to allocate memory buffers without validating that the values are reasonable or consistent with the actual file size. Affected fields include DataSize, DataOffset, and Size from the load command, Count from the SuperBlob header, and Length from individual blob headers. An attacker can craft a minimal (~4KB) malicious Mach-O binary with extremely large values in these fields, causing Quill to attempt to allocate excessive memory. This leads to memory exhaustion and denial of service, potentially crashing the host process. Both the Quill CLI and Go library are affected when used to parse untrusted Mach-O files. This vulnerability is fixed in 0.7.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/anchore/quill/security/advisories/GHSA-xj69-m9qq-8m94
- github.com/anchore/quill/commit/80cf3fe082678af0ec4f9f8dd93f39189d2dc1fe
- developer.apple.com/documentation/technotes/tn3126-inside-code-signing-hashes
- github.com/anchore/quill/releases/tag/v0.7.1
- github.com/advisories/GHSA-xj69-m9qq-8m94
- nvd.nist.gov/vuln/detail/CVE-2026-31961
- nvd.nist.gov/vuln/detail/CVE-2026-31961
- cve.org/CVERecord?id=CVE-2026-31961
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.