Skip to content
Heist/ feed
Back to feed
Low

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-2657
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:58 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 18 Feb 2026, 16:32 UTC

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.

osv:CVE-2026-2657
Complete source record
{
  "id": "00fa405583a5bae26e2dcf46e312270a534ca6385da33ff66bb848ce9093643a",
  "url": "https://osv.dev/vulnerability/CVE-2026-2657",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wren-lang wren Error Message wren_compiler.c printError stack-based overflow",
    "summary": "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.",
    "evidence": "osv:CVE-2026-2657",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-2657",
      "aliases": [
        "CVE-2026-2657"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wren-lang/wren",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6bcc64eb61772b2c957a65f9d577c59fcd1d9158"
                },
                {
                  "last_affected": "7d3f063e87acebf3e7db3ff6455826e6a30f570e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1"
                      },
                      {
                        "last_affected": "0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.2"
                      },
                      {
                        "last_affected": "0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.3"
                      },
                      {
                        "last_affected": "0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.4.0"
                      },
                      {
                        "last_affected": "0.4.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:wren:wren:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.1",
            "0.2",
            "0.3",
            "0.4.0",
            "0.4.0-pre",
            "0.3.0",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2657.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.224953797Z",
      "provider": "osv",
      "references": [
        "https://github.com/wren-lang/wren/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2657.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-2657",
        "https://vuldb.com/?id.346455",
        "https://vuldb.com/?submit.752791",
        "https://github.com/wren-lang/wren/issues/1221",
        "https://vuldb.com/?ctiid.346455",
        "https://github.com/oneafter/0122/blob/main/i1221/repro"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-121"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2657.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-2657",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510901,
  "published_at": "2026-02-18T16:32:07.566+00:00"
}