CVE-2026-2858
Received Received - Intake

Out-of-Bounds Read in wren-lang peekChar Function

Vulnerability report for CVE-2026-2858, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-20

Last updated on: 2026-04-29

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-20
Last Modified
2026-04-29
Generated
2026-07-06
AI Q&A
2026-02-21
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wren wren to 0.4.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the wren-lang wren project up to version 0.4.0, specifically in the function peekChar within the source file src/vm/wren_compiler.c, which is part of the Source File Parser component.

The issue allows for an out-of-bounds read due to improper handling in the peekChar function. This means that the program may read memory outside the intended boundaries, potentially exposing unintended data.

The attack exploiting this vulnerability must be performed locally, and an exploit is publicly available. The project was informed early but has not yet responded.

Impact Analysis

The vulnerability leads to an out-of-bounds read, which can cause the application to access memory it should not, potentially leading to information disclosure or application instability.

Since the attack requires local access and the impact is limited to availability (as per CVSS scores), the risk is relatively low but could still result in partial denial of service or exposure of sensitive memory contents.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2858. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart