{"id":"CVE-2026-44310","revision":"025cd882f74e4f39ba54f93165107202","records":[{"revision":"025cd882f74e4f39ba54f93165107202","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44310","aliases":[],"title":"gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers","description":"Gitsign is a keyless Sigstore to signing tool for Git commits with your a GitHub / OIDC identity. From 0.4.0 to before 0.15.0, CertVerifier.Verify() in pkg/git/verifier.go unconditionally dereferences certs[0] after sd.GetCertificates() without checking the slice length. A CMS/PKCS7 signed message with an empty certificate set is a structurally valid DER payload; GetCertificates() returns an empty slice with no error, causing an immediate index-out-of-range panic. On the gitsign --verify code path (the GPG-compatible mode invoked by git verify-commit), the panic is silently recovered by internal/io/streams.go's Wrap() function, which returns nil instead of an error. main.go then exits with code 0, causing exit-code-only verification callers to interpret the failed verification as success. This vulnerability is fixed in 0.15.0.","state":0,"publishedAt":"2026-05-15T16:17:53.558+00:00","modifiedAt":"2026-05-15T16:44:36.684+00:00","affected":[{"ecosystem":"Vendor product","name":"gitsign","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sigstore\",\n                    \"product\": \"gitsign\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.4.0, < 0.15.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":5.4,"severity":"MEDIUM"}],"references":["https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44310","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44310","identifiers":["CVE-2026-44310"]},"retained":false,"historicalAffected":[]}],"coverage":[]}