{"id":"CVE-2026-48702","published":"2026-08-13T13:14:19Z","modified":"2026-08-13T15:16:26Z","title":"Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic","vendor":"sigstore","product":"rekor","tier":"tail","description":{"text":"Rekor is a software supply chain transparency log. Starting in version 0.3.0 and prior to version 1.5.2, the `Package.Unmarshal()` function in `pkg/types/alpine/apk.go` decompresses the signature and control gzip members of an APK file into in-memory buffers without bounding the total decompressed size. The existing `max_apk_metadata_size` check (default 1MB) is only applied to individual tar entry header sizes after decompression completes, so it does not prevent a decompression bomb from consuming unbounded heap memory. An attacker can craft a gzip stream that compresses at a ~1000:1 ratio (e.g., 2MB compressed zeros → 2GB decompressed). When submitted as spec.package.content in an Alpine `ProposedEntry`, the server decompresses the full payload into memory during request processing, triggering a fatal Go runtime out-of-memory error or OS OOM-kill that cannot be caught by the server's recover() middleware. This is reachable via two unauthenticated endpoints, `POST /api/v1/log/entries (createLogEntry)` and `POST /api/v1/log/entries/retrieve (searchLogQuery)`. Both invoke `V001Entry.Canonicalize()` → `fetchExternalEntities()` → `apk.Unmarshal(packageData)`, which performs the unbounded decompression. Version 1.5.2 patches the issue. There is no effective workaround. Setting `max_request_body_size` reduces but does not eliminate exposure due to the ~1000:1 compression ratio (a 1MB body limit still allows ~1GB heap allocation). Setting `max_apk_metadata_size` has no effect on this vulnerability since the check is applied after decompression.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.40755,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/sigstore/rekor/security/advisories/GHSA-47q9-m4ww-924m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.15},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"rekor","versions":[">= 0.3.0, < 1.5.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T15:12:38.632066Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/sigstore/rekor","vulnerableRanges":[">=0.3.0, <1.5.2"],"patched":["1.5.2"],"from":["GHSA-47q9-m4ww-924m","GO-2026-5778"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-57928","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-33199","published":"2023-05-26","fixed":"1.2.0","kev":false},{"cve":"CVE-2026-23831","published":"2026-01-22","fixed":"1.5.0","kev":false},{"cve":"CVE-2026-24117","published":"2026-01-22","fixed":"1.5.0","kev":false,"link":{"from":"CVE-2026-24117","to":"CVE-2026-48702","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/sigstore/rekor","fromFixed":"1.5.0","toFixed":"1.5.2","daysApart":203}]}},{"cve":"CVE-2026-48702","published":"2026-08-13","fixed":"1.5.2","kev":false}],"package":"Go:github.com/sigstore/rekor"}}