{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-49600 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-49600 is a medium-severity vulnerability in mbedtls, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-49600 and fix it if it is affected.\n\nWhat it is: CVE-2025-49600 is a medium-severity vulnerability in mbedtls, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-49600 in the wild and no public exploit code.\n\nAffected product: mbedtls. 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-49600/ (Markdown: https://insights.sbomify.com/CVE-2025-49600/index.md)","id":"CVE-2025-49600","markdown":"https://insights.sbomify.com/CVE-2025-49600/index.md","name":"CVE-2025-49600","record":{"aliases":["ALPINE-CVE-2025-49600","DEBIAN-CVE-2025-49600","GHSA-r3gf-c2cf-vp8q","UBUNTU-CVE-2025-49600"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"MbedTLS cryptographic library","requires_auth":"none","summary":"Attackers can bypass LMS signature verification in MbedTLS by inducing hardware hash accelerator faults, leading to acceptance of invalid signatures.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mbed_tls","vendor":"trustedfirmware"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-325","name":"Missing Cryptographic Step"}],"description":"In MbedTLS 3.3.0 before 3.6.4, mbedtls_lms_verify may accept invalid signatures if hash computation fails and internal errors go unchecked, enabling LMS (Leighton-Micali Signature) forgery in a fault scenario. Specifically, unchecked return values in mbedtls_lms_verify allow an attacker (who can induce a hardware hash accelerator fault) to bypass LMS signature verification by reusing stale stack data, resulting in acceptance of an invalid signature. In mbedtls_lms_verify, the return values of the internal Merkle tree functions create_merkle_leaf_value and create_merkle_internal_value are not checked. These functions return an integer that indicates whether the call succeeded or not. If a failure occurs, the output buffer (Tc_candidate_root_node) may remain uninitialized, and the result of the signature verification is unpredictable. When the software implementation of SHA-256 is used, these functions will not fail. However, with hardware-accelerated hashing, an attacker could use fault injection against the accelerator to bypass verification.","ecosystems":[],"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":"Security feature bypass in mbedtls","id":"CVE-2025-49600","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"In MbedTLS 3.3.0 before 3.6.4, mbedtls_lms_import_public_key does not check that the input buffer is at least 4 bytes before reading a 32-bi","id":"CVE-2025-49601"},"packages":[],"prev":{"headline":"Security feature bypass in EG8141A5","id":"CVE-2025-49599"},"products":["mbedtls"],"published":"2025-07-04","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2026-34875","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-49195","kev_date_added":null,"published":"2024-10-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-45158","kev_date_added":null,"published":"2024-09-05"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2024-45159","kev_date_added":null,"published":"2024-09-05"},{"cvss_score":9.8,"headline":"Mbed TLS 3.2.x through 3.4.x before 3.5 has a Buffer Overflow that can lead to remote Code execution.","id":"CVE-2023-45199","kev_date_added":null,"published":"2023-10-07"},{"cvss_score":9.1,"headline":"An issue was discovered in Mbed TLS 3.5.0 through 4.0.0.","id":"CVE-2026-34873","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":9.1,"headline":"In Mbed TLS 3.3.0 through 3.5.2 before 3.6.0, a malicious client can cause information disclosure or a denial of service because of a stack","id":"CVE-2024-30166","kev_date_added":null,"published":"2024-04-03"}],"sources":[{"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-07-08","vendors":["Mbed"]},"summary":"Attackers can bypass LMS signature verification in MbedTLS by inducing hardware hash accelerator faults, leading to acceptance of invalid signatures.","url":"https://insights.sbomify.com/CVE-2025-49600/"}