p PatchFirst

CVE-2026-48702

CVE-2026-48702 · Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic

CVSS 7.5 · High · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • rekorNo fix published
  • rekor Debian 13No fix published
  • rekor Debian 14Update to 1.5.2-1
  • rekor Ubuntu Pro 26.04 LTSNo fix published

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rekor"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • rekor

    Versions
    • >= 0.3.0, < 1.5.2: Affected

    No fix published

  • rekor Debian 13

    Versions
    • 1.3.10-1
    • 1.3.9-1
    • 1.4.0-1
    • 1.4.2-1
    • 1.4.3-1
    • 1.5.0-1
    All versions (10)
    • 1.5.1-1
    • 1.5.2-1
    • 1.5.3-1
    • 1.5.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rekor Debian 14

    Versions
    • 1.3.10-1
    • 1.3.9-1
    • 1.4.0-1
    • 1.4.2-1
    • 1.4.3-1
    • 1.5.0-1
    All versions (7)
    • 1.5.1-1
    Affected ranges
    • ECOSYSTEM: < 1.5.2-1

    Update to 1.5.2-1

  • rekor Ubuntu Pro 26.04 LTS

    Versions
    • 1.3.9-1
    • 1.5.0-1
    • 1.5.0-1ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →