CVE-2026-3382 ChaiScript boxed_number.hpp get_as memory corruption
A local attacker can trigger memory corruption in ChaiScript's boxed_number.hpp, potentially leading to code execution or 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-3382?
CVE-2026-3382 is a medium-severity memory corruption vulnerability in ChaiScript, published on 1 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A security flaw has been discovered in ChaiScript up to 6.1.0. The impacted element is the function chaiscript::Boxed_Number::get_as of the file include/chaiscript/dispatchkit/boxed_number.hpp. Performing a manipulation results in memory corruption. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Which versions are affected by CVE-2026-3382?
It affects 1 product.
Products include Chaiscript Chaiscript.
How do I fix CVE-2026-3382?
No fix has been published for CVE-2026-3382 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-3382 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3382 exists.
Other vulnerabilities in ChaiScript
Sources
Also known as GHSA-f324-958x-jjg5.