Buffer overflow in Wren
CVE-2026-2858
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.001, 4.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Wren
- Wren-Lang Wren — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- VDB-347097 | wren-lang wren Source File wren_compiler.c peekChar out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-347097 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #754489 | wren-lang wren main-branch Heap-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/wren-lang/wren/issues/1217 (issue-tracking, Issue Tracking)
- github.com/oneafter/0122/blob/main/i1217/repro (Product, exploit, Issue Tracking)
- github.com/wren-lang/wren/ (Product, product)