CVE-2024-27530 pywasm3 contains a Use-After-Free in ForEachModule

High 8.4 Published Updated

A use-after-free vulnerability in the wasm3 library allows attackers to potentially execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-27530?

CVE-2024-27530 is a high-severity use after free vulnerability in n/a, published on 8 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

wasm3 139076a contains a Use-After-Free in ForEachModule.

Weakness: CWE-416

Which versions are affected by CVE-2024-27530?

3 open source packages ship an affected version, including pywasm3. It affects 1 product.

PackageAffectedFixed in
pywasm3 PyPIAll versions to 0.5.0None
pywasm3 PyPIAll versions to 0.5.0None
pywasm3 PyPIAll versions to 139076aNone

Products include Wasm3 Project Wasm3.

How do I fix CVE-2024-27530?

No fix has been published for CVE-2024-27530 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-27530 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27530 exists.

Sources

Also known as GHSA-46r6-92jg-22jg, PYSEC-2024-306.

Is CVE-2024-27530 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free