Skip to main content
CVE-2026-2657VulnerabilityPublished Updated

CVE-2026-2657: wren · Stack-based Buffer Overflow

Affects wrenSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
wren-langwrenAffected
  • =0.1
  • =0.2
  • =0.3
  • =0.4.0
Fixed in–

AI-suggested

To mitigate this vulnerability, organizations should first identify all instances of wren-lang wren interpreter usage, especially versions 0.1 through 0.4.0. Until an official patch is released, consider the following specific actions: 1) Restrict local access to systems running wren to trusted users only, minimizing the risk of local exploitation. 2) Employ application sandboxing or containerization to limit the interpreter's ability to affect the host system. 3) Monitor logs and system behavior for unusual crashes or error messages related to wren processes. 4) If feasible, replace or upgrade to a version of wren-lang that is not vulnerable once available. 5) Implement strict privilege separation so that wren processes run with the least privileges necessary. 6) Conduct code audits or static analysis on custom integrations of wren to detect unsafe error handling. These steps go beyond generic advice by focusing on access control, containment, and proactive monitoring tailored to the nature of this local buffer overflow.

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.

References

Community reviews

Loading reviews…