Description
A vulnerability has been found in wren-lang wren up to 0.4.0. This impacts the function printError of the file src/vm/wren_compiler.c of the component Error Message Handler. Such manipulation leads to stack-based buffer overflow. An attack has to be approached locally. 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-18: | Advisory disclosed |
| 2026-02-18: | VulDB entry created |
| 2026-02-21: | VulDB entry last update |
Credits
Oneafter (VulDB User)
References
vuldb.com/?id.346455 (VDB-346455 | wren-lang wren Error Message wren_compiler.c printError stack-based overflow)
vuldb.com/?ctiid.346455 (VDB-346455 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.752791 (Submit #752791 | wren-lang wren main branch Stack-based Buffer Overflow)
github.com/wren-lang/wren/issues/1221
github.com/oneafter/0122/blob/main/i1221/repro
github.com/wren-lang/wren/