CVE-2026-2656 ChaiScript type_info.hpp bare_equal use after free
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.
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.
Other vulnerabilities in ChaiScript
Sources
Also known as GHSA-rjm5-gmfm-6cp4.