CVE-2026-3387 Details
Description
A vulnerability has been found in wren-lang wren up to 0.4.0. Affected by this issue is the function getByteCountForArguments of the file src/vm/wren_compiler.c. Such manipulation leads to null pointer dereference. Local access is required to approach this attack. 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.
A null pointer dereference vulnerability has been identified in Wren-Lang Wren versions through 0.4.0. The issue arises in the compiler function 'getByteCountForArguments' within 'src/vm/wren_compiler.c'. This vulnerability occurs during the compilation of for loops, particularly if they are nested or located within a class method. The problem leads to a segmentation fault, as the compiler attempts to access a struct member from a null pointer, causing a crash. This vulnerability requires local access to exploit.
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/i1220/repro | [email protected] | Exploit |
| https://github.com/wren-lang/wren/ | [email protected] | Product |
| https://github.com/wren-lang/wren/issues/1220 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.348273 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.348273 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.761312 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-476 | NULL Pointer Dereference | [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] |