CVE-2026-3382 Details
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.
A memory corruption vulnerability has been identified in ChaiScript versions through 6.1.0. The issue arises in the Boxed_Number::get_as function, located in the file include/chaiscript/dispatchkit/boxed_number.hpp. This vulnerability leads to a segmentation fault when the result of an asynchronous function call is retrieved and used, particularly during string interpolation. The problem appears to stem from improper handling of the Boxed_Value object's lifetime across threads, causing the Boxed_Value to reference invalid memory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ChaiScript/ChaiScript/ | [email protected] | Product |
| https://github.com/ChaiScript/ChaiScript/issues/635 | [email protected] | Issue Tracking |
| https://github.com/ChaiScript/ChaiScript/issues/635#issue-3828258513 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.348268 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.348268 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.761301 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chaiscript chaiscript | <= 6.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 5, 2026 | Initial Analysis | [email protected] |
| Mar 1, 2026 | New CVE Received | [email protected] |