CVE-2026-2656 ChaiScript type_info.hpp bare_equal use after free

Low 2.0 Published Updated

A use-after-free vulnerability in ChaiScript allows local attackers to potentially 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-2656?

CVE-2026-2656 is a low-severity use after free vulnerability in ChaiScript, 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 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.

Weakness: CWE-416, CWE-119

Which versions are affected by CVE-2026-2656?

It affects 1 product.

Products include Chaiscript Chaiscript.

How do I fix CVE-2026-2656?

No fix has been published for CVE-2026-2656 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-2656 being exploited?

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

Sources

Also known as GHSA-rjm5-gmfm-6cp4.

Is CVE-2026-2656 in your software?

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

Check your SBOMs for free