Advisory

DEBIAN-CVE-2025-49133

Also known as: CVE-2025-49133

Summary

The record has no summary.

Details

Libtpms is a library that targets the integration of TPM functionality into hypervisors, primarily into Qemu. Libtpms, which is derived from the TPM 2.0 reference implementation code published by the Trusted Computing Group, is prone to a potential out of bounds (OOB) read vulnerability. The vulnerability occurs in the ‘CryptHmacSign’ function with an inconsistent pairing of the signKey and signScheme parameters, where the signKey is ALG_KEYEDHASH key and inScheme is an ECC or RSA scheme. The reported vulnerability is in the ‘CryptHmacSign’ function, which is defined in the "Part 4: Supporting Routines – Code" document, section "7.151 - /tpm/src/crypt/CryptUtil.c ". This vulnerability can be triggered from user-mode applications by sending malicious commands to a TPM 2.0/vTPM (swtpm) whose firmware is based on an affected TCG reference implementation. The effect on libtpms is that it will cause an abort due to the detection of the out-of-bounds access, thus for example making a vTPM (swtpm) unavailable to a VM. This vulnerability is fixed in 0.7.12, 0.8.10, 0.9.7, and 0.10.1.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-06-10 20:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

libtpms

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.9.2-3.1+deb12u1 (ecosystem)

Fixed versions

0.9.2-3.1+deb12u1

Fix

  • Fixed version 0.9.2-3.1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtpms

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.9.2-3.2 (ecosystem)

Fixed versions

0.9.2-3.2

Fix

  • Fixed version 0.9.2-3.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtpms

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.9.2-3.2 (ecosystem)

Fixed versions

0.9.2-3.2

Fix

  • Fixed version 0.9.2-3.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences