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

Medium 4.8 Published Updated

A stack-based buffer overflow in the Wren language compiler allows local attackers to execute arbitrary code or cause denial of service.

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

CVE-2026-2657 is a medium-severity memory corruption vulnerability in wren-lang wren, published on 18 Feb 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. 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.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2026-2657?

It affects 1 product.

Products include Wren Wren.

How do I fix CVE-2026-2657?

No fix has been published for CVE-2026-2657 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-2657 being exploited?

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

Sources

Also known as GHSA-6rjp-j8mc-4f57.

Is CVE-2026-2657 in your software?

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

Check your SBOMs for free