Buffer overflow in Wren
CVE-2026-2657
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.
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.003, 20.4th 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-346455 | wren-lang wren Error Message wren_compiler.c printError stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-346455 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required, Third Party Advisory, VDB Entry)
- Submit #752791 | wren-lang wren main branch Stack-based Buffer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/wren-lang/wren/issues/1221 (issue-tracking, Exploit, Vendor Advisory)
- github.com/oneafter/0122/blob/main/i1221/repro (Exploit, exploit)
- github.com/wren-lang/wren/ (Product, product)