p PatchFirst

CVE-2026-75900

CVE-2026-75900 · Swtpm: swtpm: out-of-bounds read in swtpm_nvram_checkheader due to sizeof(pointer) vs sizeof(struct) mismatch

CVSS 6.1 · Medium · EPSS 0.1% · Fix available

Compare with your installed version

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

Check the installed version:

apk list -I -o swtpm

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.

An out-of-bounds read vulnerability was found in swtpm's SWTPM_NVRAM_CheckHeader() function. The entry guard checks the buffer length against sizeof(bh), where bh is a pointer, instead of sizeof(*bh), the actual struct size. This allows an undersized buffer to pass validation, causing a 2-byte heap overread on 64-bit systems (6 bytes on 32-bit) when accessing the totlen field. This may cause daemon termination on some platforms and leaks heap data to the log.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • swtpm Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 0.10.2

    Update to 0.10.2

  • swtpm Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 0.10.2

    Update to 0.10.2

  • swtpm Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 0.10.2

    Update to 0.10.2

  • swtpm Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 0.10.2

    Update to 0.10.2

  • swtpm Debian 12

    Versions
    • 0.10.1+ds-1
    • 0.10.2-1
    • 0.10.2-2
    • 0.7.1-1.3
    • 0.7.1-1.4
    • 0.7.1-1.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • swtpm Debian 13

    Versions
    • 0.10.1+ds-1
    • 0.10.2-1
    • 0.10.2-2
    • 0.7.1-1.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • swtpm Debian 14

    Versions
    • 0.10.1+ds-1
    • 0.7.1-1.5
    Affected ranges
    • ECOSYSTEM: < 0.10.2-1

    Update to 0.10.2-1

  • swtpm Ubuntu 22.04 LTS

    Versions
    • 0.6.1-0ubuntu1
    • 0.6.1-0ubuntu2
    • 0.6.1-0ubuntu3
    • 0.6.1-0ubuntu4
    • 0.6.1-0ubuntu5
    • 0.6.3-0ubuntu1
    All versions (11)
    • 0.6.3-0ubuntu2
    • 0.6.3-0ubuntu3
    • 0.6.3-0ubuntu3.1
    • 0.6.3-0ubuntu3.2
    • 0.6.3-0ubuntu3.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • swtpm Ubuntu 24.04 LTS

    Versions
    • 0.7.3-0ubuntu2
    • 0.7.3-0ubuntu3
    • 0.7.3-0ubuntu5
    • 0.7.3-0ubuntu5.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • swtpm Ubuntu 26.10

    Versions
    • 0.10.1+ds-1ubuntu3
    • 0.10.1+ds-1ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • swtpm Ubuntu 26.04 LTS

    Versions
    • 0.7.3-0ubuntu8
    • 0.7.3-0ubuntu9
    • 0.10.1+ds-1ubuntu2
    • 0.10.1+ds-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →