CVE-2026-2858
published medium CVSS 4.0 · 4.8wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wren-lang | — | wren0.1 · 0.2 · 0.3 · 0.4.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | 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 | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wren-lang | wren | 0.1 (affected)0.2 (affected)0.3 (affected)0.4.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-125 Out-of-Bounds Read
- CWE-119 Memory Corruption
References
6- https://github.com/oneafter/0122/blob/main/i1217/repro
- https://github.com/wren-lang/wren/
- https://github.com/wren-lang/wren/issues/1217
- VDB-347097 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.347097
- VDB-347097 | wren-lang wren Source File wren_compiler.c peekChar out-of-bounds https://vuldb.com/?id.347097
- Submit #754489 | wren-lang wren main-branch Heap-based Buffer Overflow https://vuldb.com/?submit.754489
Provider assertions
2VulDB · cna
wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f08f4b64447d8e55e03be2406a93f7d5bcba2438d6f616fa19773ceadf10bb98
- Ingested
- 23 Sep 2026, 09:09:07 UTC
- Source record
- Official CVE record