CVE-2026-2655

ChaiScript chaiscript_defines.hpp operator use after free

Published Feb 18, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
A vulnerability was detected in ChaiScript up to 6.1.0. The impacted element is the function chaiscript::str_less::operator of the file include/chaiscript/chaiscript_defines.hpp. The manipulation results in use after free. The attack requires a local approach. The attack requires a high level of complexity. The exploitability is regarded as difficult. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A use‑after‑free flaw exists in the chaiscript::str_less::operator implementation within ChaiScript. An attacker with local execution privileges could trigger the vulnerability, potentially leading to memory corruption or program crash. The flaw requires local execution, is complex, and deemed difficult to exploit.

Affected Systems

ChaiScript releases prior to version 6.1.0 are affected. The issue involves the chaiscript_defines.hpp header in the ChaiScript library. No specific vendor versions beyond 6.1.0 are listed.

Risk and Exploitability

The CVSS score of 2.0 indicates a low severity, and the EPSS score of less than 1% further suggests a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, reducing the expectation of in‑the‑wild attacks. Defensive measures must focus on updating the library or applying mitigation workarounds until an official patch is released.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ChaiScript to a version that addresses the use‑after‑free flaw, such as 6.1.1 or later, if available.
  • If a patch is not yet released, restrict local execution of untrusted scripts and isolate the ChaiScript runtime in a sandboxed environment to limit potential damage.
  • Subscribe to the ChaiScript project or security mailing lists to receive notifications about new releases or security fixes.

Generated by OpenCVE AI on April 17, 2026 at 18:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:chaiscript:chaiscript:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Chaiscript
Chaiscript chaiscript
Vendors & Products Chaiscript
Chaiscript chaiscript
Type Values Removed Values Added
Description A vulnerability was detected in ChaiScript up to 6.1.0. The impacted element is the function chaiscript::str_less::operator of the file include/chaiscript/chaiscript_defines.hpp. The manipulation results in use after free. The attack requires a local approach. The attack requires a high level of complexity. The exploitability is regarded as difficult. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title ChaiScript chaiscript_defines.hpp operator use after free
Weaknesses CWE-119
CWE-416
References
Metrics cvssV2_0

{'score': 1, 'vector': 'AV:L/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 2.5, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Feb 23, 2026, 10:17 AM
Reserved
Feb 18, 2026, 6:43 AM
Status
Analyzed
Published
Feb 18, 2026, 2:16 PM
Modified
Jun 17, 2026, 10:31 AM