CVE-2026-2858
wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
- State
- Published
- Severity
- 4.8 Medium
- Published
- Feb 20, 2026
- Updated
- Feb 24, 2026
- Reserved
- Feb 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
wrenwren-lang |
|
References
- VDB-347097 | wren-lang wren Source File wren_compiler.c peekChar out-of-boundsvdb-entrytechnical-description
- VDB-347097 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #754489 | wren-lang wren main-branch Heap-based Buffer Overflowthird-party-advisory
- https://github.com/wren-lang/wren/issues/1217issue-tracking
- https://github.com/oneafter/0122/blob/main/i1217/reproexploit
- https://github.com/wren-lang/wren/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.