{"id":"OESA-2026-5365","summary":"tpm2-tss security update","details":"tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system APIs which provides TPM2.0 specified APIs for applications to access TPM module through kernel TPM drivers.\r\n\r\nSecurity Fix(es):\n\nThe vulnerability allows an unauthenticated attacker with physical access to the TPM bus to corrupt heap memory in applications using tpm2-tss. The vulnerability exists due to unchecked subtraction in the SPI and I2C TCTI response handlers when a TPM response declares a size of six bytes or less. An unauthenticated attacker with physical access to the TPM bus can supply crafted responses that trigger oversized transfers of attacker-controlled data into the heap response buffer.(CVE-2026-109545)\n\nThe vulnerability allows a remote attacker to potentially cause a denial of service in applications using tpm2-tss. The vulnerability exists due to an out-of-bounds read in the check_out_string function in src/tss2-fapi/ifapi_eventlog_system.c when processing firmware event-log JSON. A remote attacker can supply an event_data value that is a prefix of an expected token but shorter than that token to cause strncmp to read beyond the allocated heap buffer, potentially crashing the application.(CVE-2026-73980)\n\nThe vulnerability allows a local privileged user to cause a denial of service by triggering an out-of-bounds heap read.\nThe vulnerability exists due to an out-of-bounds read caused by unchecked response lengths in Tss2_Sys_GetEncryptParam and its ESAPI consumer iesys_decrypt_param when processing TPM responses for an HMAC session with TPMA_SESSION_ENCRYPT set. A local privileged user can control a local software TPM transport and supply a forged response with an inflated parameter length and a valid response HMAC to cause a heap over-read that may crash the calling process.(CVE-2026-73981)\n\nThe vulnerability allows a remote attacker to bypass remote attestation verification and have attacker-chosen PCR selections and digests accepted as authentic. The vulnerability exists due to insufficient verification of data authenticity in the libtss2-fapi Fapi_VerifyQuote API when validating TPM-signed attestations without checking the attest.type discriminator. A remote attacker can submit a non-quote attestation legitimately signed by the attestation key using TPM2_NV_Certify or TPM2_Certify to have it accepted as a valid quote, causing downstream verifiers to interpret non-quote data as PCR selections and digests. Exploitation requires control of a device with an enrolled attestation key or access to that key&apos;s signing capability through a compromised attester; compromise of the key itself is not necessary.(CVE-2026-73982)\n\nThe vulnerability allows a local user to cause a denial of service and corrupt adjacent stack memory. The vulnerability exists due to a stack-based buffer overflow caused by unchecked PCRIndex values in the tpm2-tss FAPI firmware eventlog serialization callbacks when processing attacker-controlled firmware eventlogs. A local user can supply an eventlog containing PCRIndex = 32 or PCRIndex = 0xFFFFFFFF to trigger an out-of-bounds read and increment of recnum_tab, causing a process crash or corruption of adjacent stack memory.(CVE-2026-73983)\n\nThe vulnerability allows a remote attacker to bypass policy and attestation checks by causing malformed TPM data to be accepted as valid. The vulnerability exists due to an unchecked return value in the TPM2B_UNMARSHAL_SUBTYPE macro in src/tss2-mu/tpm2b-types.c when decoding TPM2B subtype payloads. A remote attacker can supply a crafted TPM response with a valid outer size field and a malformed inner subtype to cause partially decoded structures to be accepted as valid, potentially bypassing downstream policy and attestation checks.(CVE-2026-73984)\n\nThe vulnerability allows a remote attacker to corrupt memory and cause a denial of service, with potential arbitrary code execution depending on memory layout and allocator behavior.\nThe vulnerability exists due to an out-of-bounds write in the tpm2-tss function ifapi_json_BYTE_array_deserialize() when processing JSON arrays that exceed the output buffer&apos;s maximum size. The function detects the excessive array length but continues writing instead of returning an error. A remote attacker can trick a victim into processing a crafted JSON file containing an oversized byte array to overwrite adjacent memory with attacker-controlled bytes and cause a crash or potentially execute arbitrary code.(CVE-2026-73985)\n\nThe vulnerability allows a local user to cause a denial of service and potentially disclose sensitive information.\nThe vulnerability exists due to an out-of-bounds read in the tpm2-tss FAPI IMA event log parser when processing an algorithm name with an unbounded strlen call. A local user can supply a crafted IMA log entry whose d-ng algorithm name lacks a NUL terminator within the event buffer to cause the parser to read beyond the buffer, potentially crashing the application or exposing adjacent memory.\nThe vulnerable parsing path is reached through ifapi_read_ima_event_log using the configured ima_log_file path.(CVE-2026-73986)\n\nThe vulnerability allows a local user to corrupt memory and potentially execute arbitrary code in the context of the calling process.\nThe vulnerability exists due to an out-of-bounds write in the tpm2-tss iesys_MU_IESYS_SESSION_Unmarshal function when deserializing attacker-controlled ESYS_TR or context blobs through Esys_TR_Deserialize or Esys_ContextLoad. A local user can supply a crafted blob with a sizeSessionValue field exceeding the capacity of the fixed-size sessionValue buffer to overwrite adjacent memory and potentially execute arbitrary code.(CVE-2026-73987)\n\nThe vulnerability allows a local user to cause a denial of service by crashing an application that loads or provisions with attacker-controlled FAPI policy JSON.\nThe vulnerability exists due to a null pointer dereference in the copy_policy_element function in src/tss2-fapi/ifapi_helpers.c when copying a policy that uses currentPCRs or currentPCRandBanks without a pcrs entry. A local user can supply a crafted policy JSON that selects either option and omits pcrs to trigger an unchecked dereference of from_policy-&gt;element.PolicyPCR.pcrs and crash the application.(CVE-2026-73988)\n\nThe vulnerability allows a local user to corrupt memory and cause a denial of service in applications that process attacker-controlled FAPI policies.\nThe vulnerability exists due to an out-of-bounds write in the ifapi_compute_policy_digest function in src/tss2-fapi/ifapi_helpers.c when computing policy digests using an unchecked PCR index. A local user can supply a crafted policy JSON containing pcrs entries with pcr &gt;= 32 to write past the end of the pcrSelect array, corrupt memory in the calling process, and potentially crash the application.(CVE-2026-73989)\n\nThe vulnerability allows a local user to cause a denial of service or corrupt memory in applications that process attacker-controlled event logs. The vulnerability exists due to an off-by-one bounds check in the tpm2-tss FAPI event log parser when processing event log entries. A local user can supply a crafted event log with PCRIndex = 32 to trigger out-of-bounds reads or writes to the JSON serializer&apos;s recnum_tab[TPM2_MAX_PCRS] array, potentially corrupting memory or crashing the application.(CVE-2026-73990)","modified":"2026-12-04T16:31:07.893077161Z","published":"2026-12-04T15:20:08Z","upstream":["CVE-2026-109545","CVE-2026-73980","CVE-2026-73981","CVE-2026-73982","CVE-2026-73983","CVE-2026-73984","CVE-2026-73985","CVE-2026-73986","CVE-2026-73987","CVE-2026-73988","CVE-2026-73989","CVE-2026-73990"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-5365"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109545"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73980"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73981"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73982"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73983"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73984"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73985"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73986"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73987"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73988"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73989"},{"type":"ADVISORY"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73990"},{"type":"ADVISORY"}],"affected":[{"package":{"name":"tpm2-tss","ecosystem":"openEuler:24.03-LTS-SP1","purl":"pkg:rpm/openEuler/tpm2-tss&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.1-9.oe2403sp1"}]}],"ecosystem_specific":{"aarch64":["tpm2-tss-4.0.1-9.oe2403sp1.aarch64.rpm","tpm2-tss-debuginfo-4.0.1-9.oe2403sp1.aarch64.rpm","tpm2-tss-debugsource-4.0.1-9.oe2403sp1.aarch64.rpm","tpm2-tss-devel-4.0.1-9.oe2403sp1.aarch64.rpm"],"noarch":["tpm2-tss-help-4.0.1-9.oe2403sp1.noarch.rpm"],"src":["tpm2-tss-4.0.1-9.oe2403sp1.src.rpm"],"x86_64":["tpm2-tss-4.0.1-9.oe2403sp1.x86_64.rpm","tpm2-tss-debuginfo-4.0.1-9.oe2403sp1.x86_64.rpm","tpm2-tss-debugsource-4.0.1-9.oe2403sp1.x86_64.rpm","tpm2-tss-devel-4.0.1-9.oe2403sp1.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-5365.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}