{"answers":{"affected":"3 open source packages ship an affected version, including github.com/anchore/quill. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31961 in the wild and no public exploit code.","fix":"Upgrade github.com/anchore/quill to 0.7.1 or later.","what":"CVE-2026-31961 is a medium-severity denial of service vulnerability in anchore quill, published on 11 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31961 and fix it if it is affected.\n\nWhat it is: CVE-2026-31961 is a medium-severity denial of service vulnerability in anchore quill, published on 11 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31961 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/anchore/quill (Go): affected all versions; fixed in 0.7.1\n- github.com/anchore/quill (Go): affected all versions; fixed in 0.7.1\n- github.com/anchore/quill (Go): affected all versions; fixed in 0.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31961/ (Markdown: https://insights.sbomify.com/CVE-2026-31961/index.md)","id":"CVE-2026-31961","markdown":"https://insights.sbomify.com/CVE-2026-31961/index.md","name":"CVE-2026-31961","record":{"aliases":["GHSA-xj69-m9qq-8m94","GO-2026-4675"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go binary signing library","requires_auth":"low_privilege","summary":"An attacker can cause denial of service by supplying a crafted Mach-O binary that triggers unbounded memory allocation in Quill.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"quill","vendor":"anchore"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unbounded memory allocation in Quill via unvalidated size fields in Mach-O binary parsing","id":"CVE-2026-31961","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"HTSlib CRAM reader has heap buffer overflow due to improper validation of input","id":"CVE-2026-31962"},"packages":[{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/anchore/quill","purl":null,"source":"GHSA-xj69-m9qq-8m94"},{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/anchore/quill","purl":"pkg:golang/github.com/anchore/quill","source":"GHSA-xj69-m9qq-8m94"},{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/anchore/quill","purl":"pkg:golang/github.com/anchore/quill","source":"GO-2026-4675"}],"prev":{"headline":"DoS in Quill via unbounded read of HTTP response body during notarization","id":"CVE-2026-31960"},"products":["quill"],"published":"2026-03-11","related":[{"cvss_score":5.3,"headline":"SSRF in Quill via unvalidated URL from Apple notarization log retrieval","id":"CVE-2026-31959","kev_date_added":null,"published":"2026-03-11"},{"cvss_score":5.3,"headline":"DoS in Quill via unbounded read of HTTP response body during notarization","id":"CVE-2026-31960","kev_date_added":null,"published":"2026-03-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-11","vendors":["anchore"]},"summary":"An attacker can cause denial of service by supplying a crafted Mach-O binary that triggers unbounded memory allocation in Quill.","url":"https://insights.sbomify.com/CVE-2026-31961/"}