Description
A vulnerability was identified in wren-lang wren up to 0.4.0. This affects the function peekChar of the file src/vm/wren_compiler.c of the component Source File Parser. Such manipulation leads to out-of-bounds read. The attack needs to be performed locally. The exploit is publicly available and might 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-20: | Advisory disclosed |
| 2026-02-20: | VulDB entry created |
| 2026-02-20: | VulDB entry last update |
Credits
Oneafter (VulDB User)
References
vuldb.com/?id.347097 (VDB-347097 | wren-lang wren Source File wren_compiler.c peekChar out-of-bounds)
vuldb.com/?ctiid.347097 (VDB-347097 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.754489 (Submit #754489 | wren-lang wren main-branch Heap-based Buffer Overflow)
github.com/wren-lang/wren/issues/1217
github.com/oneafter/0122/blob/main/i1217/repro
github.com/wren-lang/wren/