CVE and update status of the FreeBSD ports tree4,826 unaddressed CVEs in 618 portsAll times are CET

Port details

devel/wasm30.5.0_2

High performance WebAssembly interpreter

Maintainer
freebsd@sysctl.cz
Packages
wasm3 0.5.0_2
Upstream
Higher version available: 0.9.1
CPE
wasm3_project:wasm3 from the port
WWW
https://github.com/wasm3/wasm3
Links
cgit · VuXML

Unaddressed (14) · The CVE record lists this version as affected, no VuXML entry names the CVE

CVE-2024-342499.8published 2024-05-06

wasm3 v0.5.0 was discovered to contain a heap buffer overflow which leads to segmentation fault via the function "DeallocateSlot" in wasm3/source/m3_compile.c.

CVE-2022-289907.8published 2022-05-20

WASM3 v0.5.0 was discovered to contain a heap overflow via the component /wabt/bin/poc.wasm.

CVE-2024-342467.5published 2024-05-06

wasm3 v0.5.0 was discovered to contain an out-of-bound memory read which leads to segmentation fault via the function "main" in wasm3/platforms/app/main.c.

CVE-2024-342527.5published 2024-05-06

wasm3 v0.5.0 was discovered to contain a global buffer overflow which leads to segmentation fault via the function "PreserveRegisterIfOccupied" in wasm3/source/m3_compile.c.

CVE-2022-399747.5published 2022-09-20

WASM3 v0.5.0 was discovered to contain a segmentation fault via the component op_Select_i32_srs in wasm3/source/m3_exec.h.

CVE-2021-385927.5published 2021-08-12

Wasm3 0.5.0 has a heap-based buffer overflow in op_Const64 (called from EvaluateExpression and m3_LoadModule).

CVE-2022-345295.5published 2022-07-27

WASM3 v0.5.0 was discovered to contain a segmentation fault via the component Compile_Memory_CopyFill.

CVE-2022-289665.5published 2022-04-16

Wasm3 0.5.0 has a heap-based buffer overflow in NewCodePage in m3_code.c (called indirectly from Compile_BranchTable in m3_compile.c).

CVE-2021-459295.5published 2022-01-01

Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from CompileElseBlock and Compile_If).

CVE-2021-459465.5published 2022-01-01

Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (called from Compile_LoopOrBlock and CompileBlockStatements).

CVE-2021-459475.5published 2022-01-01

Wasm3 0.5.0 has an out-of-bounds write in Runtime_Release (called from EvaluateExpression and InitDataSegments).

CVE-2025-155721.9published 2026-02-10

A vulnerability has been found in wasm3 up to 0.5.0. The affected element is the function NewCodePage. The manipulation leads to memory leak. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. Unfortunately, the project has no active maintainer at the moment.

CVE-2025-154131.9published 2026-01-01

A vulnerability was detected in wasm3 up to 0.5.0. Impacted is the function op_SetSlot_i32/op_CallIndirect of the file m3_exec.h. Performing a manipulation results in memory corruption. The attack needs to be approached locally. The exploit is now public and may be used. Unfortunately, the project has no active maintainer at the moment.

CVE-2025-62721.9published 2025-06-19

A vulnerability has been found in wasm3 0.5.0 and classified as problematic. This vulnerability affects the function MarkSlotAllocated of the file source/m3_compile.c. The manipulation leads to out-of-bounds write. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (7)

Stefan Eßer (se) · 0.5.0_2
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 0.5.0_2
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Mikael Urankar (mikael) · 0.5.0_2
devel/wasm3: Fix compilation and clean up port.

Rephrase COMMENT and pkg-descr to sound less like a sales pitch
Disable -march=native as this overrides settings by the framework and fails on multiple non x86 platforms
Remove GitHub related variables that are already defined
Replace += with = for GH_TUPLE
Remove forced O3 optimization

PR:		259701
Approved by:	portmgr (build fix blanket)
Differential Revision:	https://reviews.freebsd.org/D32883
b62fdebf66
Mikael Urankar (mikael) · 0.5.0_1
devel/wasm3: Remove march=native.

It breaks runtime on x86 arch and fails to build on non x86 arch.

Approved by:	portmgr (build fix blanket)
5320bdfd13
Stefan Eßer (se) · 0.5.0
devel/wasm3: Add CPE information

Approved by:	portmgr (blanket)
58e9b6b205
Jimmy Olgeni (olgeni) · 0.5.0
*: fix tab vs. space issues, and comments according to the guide.
4460cf727a
Vanilla I. Shu (vanilla) · 0.5.0
devel/wasm3: add ports.

PR:		258458
Reported by:	Martin Filla <freebsd at sysctl.cz>
8f0b24d62b