Description
A vulnerability has been found in wren-lang wren up to 0.4.0. Affected by this issue is the function getByteCountForArguments of the file src/vm/wren_compiler.c. Such manipulation leads to null pointer dereference. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Problem types
Product status
0.2
0.3
0.4.0
Timeline
| 2026-02-28: | Advisory disclosed |
| 2026-02-28: | VulDB entry created |
| 2026-02-28: | VulDB entry last update |
Credits
Oneafter (VulDB User)
References
vuldb.com/?id.348273 (VDB-348273 | wren-lang wren wren_compiler.c getByteCountForArguments null pointer dereference)
vuldb.com/?ctiid.348273 (VDB-348273 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.761312 (Submit #761312 | wren-lang wren main-branch NULL Pointer Dereference)
github.com/wren-lang/wren/issues/1220
github.com/oneafter/0122/blob/main/i1220/repro
github.com/wren-lang/wren/