{"id":"CVE-2026-2858","state":"PUBLISHED","title":"wren-lang wren Source File wren_compiler.c peekChar out-of-bounds","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.","publishedAt":"2026-02-20T21:32:08.945Z","updatedAt":"2026-02-24T14:50:28.182Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["wren-lang wren"],"affected":[{"vendor":"wren-lang","product":"wren","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"},{"version":"0.4.0","status":"affected"}],"modules":["Source File Parser"]}],"references":["https://vuldb.com/?id.347097","https://vuldb.com/?ctiid.347097","https://vuldb.com/?submit.754489","https://github.com/wren-lang/wren/issues/1217","https://github.com/oneafter/0122/blob/main/i1217/repro","https://github.com/wren-lang/wren/"],"weaknesses":["CWE-125","CWE-119"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/2xxx/CVE-2026-2858.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-2858","state":"PUBLISHED","datePublished":"2026-02-20T21:32:08.945Z","dateUpdated":"2026-02-24T14:50:28.182Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-02-20T10:49:27.958Z"},"containers":{"cna":{"title":"wren-lang wren Source File wren_compiler.c peekChar out-of-bounds","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"wren-lang","product":"wren","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"},{"version":"0.4.0","status":"affected"}],"modules":["Source File Parser"]}],"references":[{"url":"https://vuldb.com/?id.347097","name":"VDB-347097 | wren-lang wren Source File wren_compiler.c peekChar out-of-bounds","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.347097","name":"VDB-347097 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.754489","name":"Submit #754489 | wren-lang wren main-branch Heap-based Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/wren-lang/wren/issues/1217","tags":["issue-tracking"]},{"url":"https://github.com/oneafter/0122/blob/main/i1217/repro","tags":["exploit"]},{"url":"https://github.com/wren-lang/wren/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":1.7,"vectorString":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"Out-of-Bounds Read"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-02-20T21:32:08.945Z"},"timeline":[{"time":"2026-02-20T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-02-20T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-02-20T11:54:44.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Oneafter (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-24T14:50:12.709474Z","id":"CVE-2026-2858","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-24T14:50:28.182Z"}}]}}}