# CVE-2026-2657: wren-lang wren Error Message wren_compiler.c printError stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-18T16:32:07.566Z
- Modified: 2026-06-17T10:31:28.880Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in wren-lang wren up to 0.4.0. This impacts the function printError of the file src/vm/wren_compiler.c of the component Error Message Handler. Such manipulation leads to stack-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

(As written by CVE List.)

## Affected

- wren-lang wren: 0.1; 0.2; 0.3; 0.4.0
- wren wren: up to 0.4.0

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/wren-lang/wren/issues/1221> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/oneafter/0122/blob/main/i1221/repro> (exploit)
- <https://vuldb.com/?id.346455> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.346455> (permissions-required, signature, third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.752791> (third-party-advisory, vdb-entry)
- <https://github.com/wren-lang/wren/> (product)

## Sources

- CVE List: [CVE-2026-2657](https://www.cve.org/CVERecord?id=CVE-2026-2657), CVE Terms of Use, modified 2026-02-23
- NVD: [CVE-2026-2657](https://nvd.nist.gov/vuln/detail/CVE-2026-2657), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2657 · Whole record: https://cve.day/CVE-2026-2657.json · Rebuilt by cve.day 2026-11-25T22:59:14.000Z
