Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2025-61670
bytecodealliance wasmtime

Puan1 Düşük
CVSS 4.0
İstismar olasılığı (EPSS)0.29%
önümüzdeki 30 gün içinde
KategoriHizmet engelleme (DoS)
Yayımlanma7 Ekim 2025
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık aynı yerel ağdan, sıradan bir kullanıcı hesabıyla, kullanıcının etkileşimiyle istismar edilebilir.

Etkisi sınırlı: sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

Wasmtime is a runtime for WebAssembly. Wasmtime 37.0.0 and 37.0.1 have memory leaks in the C/C++ API when using bindings for the `anyref` or `externref` WebAssembly values. This is caused by a regression introduced during the development of 37.0.0 and all prior versions of Wasmtime are unaffected. If `anyref` or `externref` is not used in the C/C++ API then embeddings are also unaffected by the leaky behavior. The `wasmtime` Rust crate is unaffected by this leak. Development of Wasmtime 37.0.0 included a refactoring in Rust of changing the old `ManuallyRooted<T>` type to a new `OwnedRooted<T>` type. This change was integrated into Wasmtime's C API but left the C API in a state which had memory leaks. Additionally the new ownership semantics around this type were not reflected into the C++ API, making it leak-prone. A short version of the change is that previously `ManuallyRooted<T>`, as the name implies, required manual calls to an "unroot" operation. If this was forgotten then the memory was still cleaned up when the `wasmtime_store_t` itself was destroyed eventually. Documentation of when to "unroot" was sparse and there were already situations prior to 37.0.0 where memory would be leaked until the store was destroyed anyway. All memory, though, was always bound by the store, and destroying the store would guarantee that there were no memory leaks. In migrating to `OwnedRooted<T>` the usage of the type in Rust changed. A manual "unroot" operation is no longer required and it happens naturally as a destructor of the `OwnedRooted<T>` type in Rust itself. These new resource ownership semantics were not fully integrated into the preexisting semantics of the C/C++ APIs in Wasmtime. A crucial distinction of `OwnedRooted<T>` vs `ManuallyRooted<T>` is that the `OwnedRooted<T>` type allocates host memory outside of the store. This means that if an `OwnedRooted<T>` is leaked then destroying a store does not release this memory and it's a permanent memory leak on the host. This led to a few distinct, but related, issues arising: A typo in the `wasmtime_val_unroot` function in the C API meant that it did not actually unroot anything. This meant that even if embedders faithfully call the function then memory will be leaked. If a host-defined function returned a `wasmtime_{externref,anyref}_t` value then the value was never unrooted. The C/C++ API no longer has access to the value and the Rust implementation did not unroot. This meant that any values returned this way were never unrooted. The goal of the C++ API of Wasmtime is to encode automatic memory management in the type system, but the C++ API was not updated when `OwnedRooted<T>` was added. This meant that idiomatic usage of the C++ API would leak memory due to a lack of destructors on values. These issues have all been fixed in a 37.0.2 release of Wasmtime. The implementation of the C and C++ APIs have been updated accordingly and respectively to account for the changes of ownership here. For example `wasmtime_val_unroot` has been fixed to unroot, the Rust-side implementation of calling an embedder-defined function will unroot return values, and the C++ API now has destructors on the `ExternRef`, `AnyRef`, and `Val` types. These changes have been made to the 37.0.x release branch in a non-API-breaking fashion. Changes to the 38.0.0 release branch (and `main` in the Wasmtime repository) include minor API updates to better accommodate the API semantic changes. The only known workaround at this time is to avoid using `externref` and `anyref` in the C/C++ API of Wasmtime. If avoiding those types is not possible then it's required for users to update to mitigate the leak issue.

CVSS: CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Açık türü: CWE-772

Etkilenen ürünler

ÜreticiÜrünSürümler
bytecodealliancewasmtime37.0.0
bytecodealliancewasmtime37.0.1

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-138433 Orta 5.5
    A vulnerability has been found in Zylon PrivateGPT up to 0.6.2. This impacts the function retrieve_relevant of the file private_gpt/server/chunks/chunks_service.py of the component Chunks API. Such manipulation of the…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-138432 Orta 5.5
    A flaw has been found in Zylon PrivateGPT up to 0.6.2. This affects the function ingest_bin_data of the file private_gpt/server/ingest/ingest_service.py of the component Ingest API. This manipulation of the argument…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-133641 Puanlanmadı
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-133640 Puanlanmadı
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. The fix released for CVE-2026-104712 in Struts 6.12.0 and 7.4.0 does not cover all affected values. When a request parameter is bound to…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-127170 Yüksek 8.7
    The affected products contain a memory leak in the packet processing of the network stack. An unauthenticated remote attacker can send specially crafted UDP packets to exhaust available packet buffers. Successful…
    Hizmet engelleme (DoS) · 30 Kasım 2026
  • CVE-2026-127169 Yüksek 8.7
    The affected products do not properly handle certain return values generated during TCP connection processing. An unauthenticated remote attacker can send specially crafted TCP connection requests that cause the…
    Hizmet engelleme (DoS) · 30 Kasım 2026