CVE-2026-3387 wren-lang wren wren_compiler.c getByteCountForArguments null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service via null pointer dereference in the Wren compiler's argument handling.

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-3387?

CVE-2026-3387 is a medium-severity 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 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.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2026-3387?

It affects 1 product.

Products include Wren Wren.

How do I fix CVE-2026-3387?

No fix has been published for CVE-2026-3387 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-3387 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3387 exists.

Sources

Also known as GHSA-w7j5-25g6-jc8f.

Is CVE-2026-3387 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free