CVE-2026-3386 wren-lang wren wren_compiler.c emitOp out-of-bounds
A local attacker can trigger an out-of-bounds read in the Wren compiler, potentially causing crashes or exposing memory contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-3386?
CVE-2026-3386 is a medium-severity memory corruption vulnerability in wren-lang wren, published on 1 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-3386?
It affects 1 product.
Products include Wren Wren.
How do I fix CVE-2026-3386?
No fix has been published for CVE-2026-3386 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-3386 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3386 exists.
Other vulnerabilities in wren-lang wren
- CVE-2026-3385 wren-lang wren wren_compiler.c resolveLocal recursion
- CVE-2026-3387 wren-lang wren wren_compiler.c getByteCountForArguments null pointer dereference
- CVE-2026-2858 wren-lang wren Source File wren_compiler.c peekChar out-of-bounds
- CVE-2026-2657 wren-lang wren Error Message wren_compiler.c printError stack-based overflow
Sources
Also known as GHSA-fpqc-f6mj-3wrf.