# CVE-2026-44310: gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-15 · Modified: 2026-05-15
- Aliases: UBUNTU-CVE-2026-44310, DEBIAN-CVE-2026-44310, GHSA-7c37-gx6w-8vc5, GO-2026-5212, CGA-f342-f2xr-rc6w, CGA-mfg3-fp4w-m3qc
- Record: https://cvemate.com/vulnerability/CVE-2026-44310 · JSON: https://cvemate.com/vulnerability/CVE-2026-44310/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- EPSS: 0.131%, percentile 2.875%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard cg (Chainguard): \< 0.2.261-r0
- debian gitsign (Debian): All versions (No fix recorded) \| \< 0.16.0-1
- ubuntu gitsign (Ubuntu): All versions (No fix recorded)
- github.com/sigstore gitsign (Go): ≥ 0.4.0, \< 0.15.0
- sigstore gitsign: ≥ 0.4.0, \< 0.15.0

## References

- <https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5>
- <https://ubuntu.com/security/CVE-2026-44310>
- <https://www.cve.org/CVERecord?id=CVE-2026-44310>
- <https://security-tracker.debian.org/tracker/CVE-2026-44310>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44310>
- <https://github.com/sigstore/gitsign>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44310.json>

---

Data as of 2026-12-05T08:32:57.018Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
