{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-49133 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-49133 is a medium-severity memory corruption vulnerability in stefanberger libtpms, published on 10 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-49133 and fix it if it is affected.\n\nWhat it is: CVE-2025-49133 is a medium-severity memory corruption vulnerability in stefanberger libtpms, published on 10 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-49133 in the wild and no public exploit code.\n\nAffected product: stefanberger libtpms. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-49133/ (Markdown: https://insights.sbomify.com/CVE-2025-49133/index.md)","id":"CVE-2025-49133","markdown":"https://insights.sbomify.com/CVE-2025-49133/index.md","name":"CVE-2025-49133","record":{"aliases":["ALSA-2025:12100","ALSA-2025:12527","ALSA-2025:16428","AZL-63702","DEBIAN-CVE-2025-49133","GHSA-25w5-6fjj-hf8g","MGASA-2025-0248","OESA-2025-1836","OESA-2025-1837","OESA-2025-2133","OESA-2025-2134","OESA-2025-2135","OESA-2025-2261","RHSA-2025:12100","RHSA-2025:12111","RHSA-2025:12112","RHSA-2025:12234","RHSA-2025:12293","RHSA-2025:12527","RHSA-2025:16428","RLSA-2025:12100","RLSA-2025:12527","RLSA-2025:16428","SUSE-SU-2026:1388-1","SUSE-SU-2026:21035-1","SUSE-SU-2026:21064-1","UBUNTU-CVE-2025-49133","USN-7617-1","openSUSE-SU-2025:15244-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TPM emulation library","requires_auth":"low_privilege","summary":"A malicious user can trigger an out-of-bounds read in Libtpms, causing a virtual TPM to abort and resulting in denial of service for the virtual machine.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"libtpms","vendor":"libtpms_project"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue","id":"CVE-2025-49133","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":1612,"n_references":4,"next":{"headline":"Weblate exposes personal IP address via e-mail","id":"CVE-2025-49134"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["0.9.6-11.el10_0"],"introduced":["0"],"last_affected":[],"package":"libtpms","purl":"pkg:rpm/almalinux/libtpms","source":"ALSA-2025:16428"},{"ecosystem":"AlmaLinux:8","fixed":["20210217-2.module_el8.10.0+3768+dfd76e10"],"introduced":["0"],"last_affected":[],"package":"SLOF","purl":"pkg:rpm/almalinux/SLOF","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/almalinux/hivex","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/almalinux/hivex","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/almalinux/hivex-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/almalinux/hivex-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/almalinux/libguestfs","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/almalinux/libguestfs-appliance","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/almalinux/libguestfs-bash-completion","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-devel","purl":"pkg:rpm/almalinux/libguestfs-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gfs2","purl":"pkg:rpm/almalinux/libguestfs-gfs2","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject","purl":"pkg:rpm/almalinux/libguestfs-gobject","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-devel","purl":"pkg:rpm/almalinux/libguestfs-gobject-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/almalinux/libguestfs-inspect-icons","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java","purl":"pkg:rpm/almalinux/libguestfs-java","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-devel","purl":"pkg:rpm/almalinux/libguestfs-java-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-javadoc","purl":"pkg:rpm/almalinux/libguestfs-javadoc","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-ja","purl":"pkg:rpm/almalinux/libguestfs-man-pages-ja","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-uk","purl":"pkg:rpm/almalinux/libguestfs-man-pages-uk","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/almalinux/libguestfs-rescue","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/almalinux/libguestfs-rsync","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools","purl":"pkg:rpm/almalinux/libguestfs-tools","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c","purl":"pkg:rpm/almalinux/libguestfs-tools-c","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["8.10-1.module_el8.10.0+3768+dfd76e10"],"introduced":["0"],"last_affected":[],"package":"libguestfs-winsupport","purl":"pkg:rpm/almalinux/libguestfs-winsupport","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/almalinux/libguestfs-xfs","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/almalinux/libiscsi","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/almalinux/libiscsi","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/almalinux/libiscsi-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/almalinux/libiscsi-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/almalinux/libiscsi-utils","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/almalinux/libiscsi-utils","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-6.module_el8.10.0+3897+eb84924d"],"introduced":["0"],"last_affected":[],"package":"libnbd","purl":"pkg:rpm/almalinux/libnbd","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-6.module_el8.10.0+3897+eb84924d"],"introduced":["0"],"last_affected":[],"package":"libnbd-bash-completion","purl":"pkg:rpm/almalinux/libnbd-bash-completion","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-6.module_el8.10.0+3897+eb84924d"],"introduced":["0"],"last_affected":[],"package":"libnbd-devel","purl":"pkg:rpm/almalinux/libnbd-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["0.9.1-3.20211126git1ff6fe1f43.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libtpms","purl":"pkg:rpm/almalinux/libtpms","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["0.9.1-3.20211126git1ff6fe1f43.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libtpms-devel","purl":"pkg:rpm/almalinux/libtpms-devel","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.4.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/almalinux/libvirt","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.4.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libvirt-client","purl":"pkg:rpm/almalinux/libvirt-client","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.4.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon","purl":"pkg:rpm/almalinux/libvirt-daemon","source":"ALSA-2025:12527"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.4.module_el8.10.0+4031+06966654"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-config-network","purl":"pkg:rpm/almalinux/libvirt-daemon-config-network","source":"ALSA-2025:12527"}],"prev":{"headline":"Pterodactyl Panel Allows Unauthenticated Arbitrary Remote Code Execution","id":"CVE-2025-49132"},"products":["libtpms"],"published":"2025-06-10","related":[{"cvss_score":5.5,"headline":"libtpms returns wrong initialization vector when certain symmetric ciphers are used","id":"CVE-2026-21444","kev_date_added":null,"published":"2026-01-02"},{"cvss_score":5.5,"headline":"Memory corruption in libtpms","id":"CVE-2021-3569","kev_date_added":null,"published":"2021-06-03"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["stefanberger"]},"summary":"A malicious user can trigger an out-of-bounds read in Libtpms, causing a virtual TPM to abort and resulting in denial of service for the virtual machine.","url":"https://insights.sbomify.com/CVE-2025-49133/"}