wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2858
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 05:13 UTC · Revision 1
Source evidence
wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
core-osv · Original sourcePublished 20 Feb 2026, 21:32 UTC
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.
osv:CVE-2026-2858
Complete source record
{
"id": "386f6bfd617649c1384ca08a96796f32e01cbfc28c898f8281fb58b2953c8dbe",
"url": "https://osv.dev/vulnerability/CVE-2026-2858",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wren-lang wren Source File wren_compiler.c peekChar out-of-bounds",
"summary": "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.",
"evidence": "osv:CVE-2026-2858",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-2858",
"aliases": [
"CVE-2026-2858"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wren-lang/wren",
"type": "GIT",
"events": [
{
"introduced": "6bcc64eb61772b2c957a65f9d577c59fcd1d9158"
},
{
"last_affected": "7d3f063e87acebf3e7db3ff6455826e6a30f570e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.1"
},
{
"last_affected": "0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2"
},
{
"last_affected": "0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.3"
},
{
"last_affected": "0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.4.0"
},
{
"last_affected": "0.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:wren:wren:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.1",
"0.2",
"0.3",
"0.4.0",
"0.4.0-pre",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2858.json"
}
}
],
"modified": "2026-10-28T02:30:33.371362953Z",
"provider": "osv",
"references": [
"https://github.com/wren-lang/wren/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2858.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2858",
"https://vuldb.com/?id.347097",
"https://vuldb.com/?submit.754489",
"https://github.com/wren-lang/wren/issues/1217",
"https://vuldb.com/?ctiid.347097",
"https://github.com/oneafter/0122/blob/main/i1217/repro"
],
"provider_metadata": {
"cwe_ids": [
"CWE-119",
"CWE-125"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2858.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2858",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500456,
"published_at": "2026-02-20T21:32:08.945+00:00"
}