CVE-2026-3386 Details
Description
A flaw has been found in wren-lang wren up to 0.4.0. Affected by this vulnerability is the function emitOp of the file src/vm/wren_compiler.c. This manipulation causes out-of-bounds read. It is possible to launch the attack on the local host. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
A global buffer overflow vulnerability has been identified in the Wren programming language compiler, specifically in versions up to 0.4.0. The issue arises in the 'emitOp' function within 'src/vm/wren_compiler.c', where the global 'stackEffects' array is accessed using an invalid opcode index, leading to an out-of-bounds read. This vulnerability can be exploited locally, and a proof-of-concept exploit is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oneafter/0122/blob/main/i1219/repro | [email protected] | Exploit |
| https://github.com/wren-lang/wren/ | [email protected] | Product |
| https://github.com/wren-lang/wren/issues/1219 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.348272 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.348272 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.761306 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wren wren | <= 0.4.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 5, 2026 | Initial Analysis | [email protected] |
| Mar 1, 2026 | New CVE Received | [email protected] |