CVE-2026-3389

Squirrel sqstdrex.cpp sqstd_rex_newnode null pointer dereference

Published Mar 1, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was determined in Squirrel up to 3.2. This vulnerability affects the function sqstd_rex_newnode in the library sqstdlib/sqstdrex.cpp. Executing a manipulation can lead to null pointer dereference. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The vulnerability in the Squirrel scripting language allows a local attacker to trigger a null pointer dereference when the sqstd_rex_newnode function in sqstdlib/sqstdrex.cpp processes certain inputs, causing a crash that results in denial of service to the running script or application.

Affected Systems

Affected versions include all releases of Squirrel up to and including 3.2. The issue specifically targets the regex subsystem contained in the sqstd_rex_newnode implementation, and any environment that uses this function is potentially exposed.

Risk and Exploitability

The CVSS score of 4.8 reflects a moderate severity, and the EPSS score of less than 1% indicates a low likelihood of exploitation. Because the attack vector is local, only users with local execution privileges can exploit the flaw, but as soon as a malicious script is executed it can crash the runtime. The flaw is not in the CISA KEV catalog, and no vendor patch has been released yet, so the risk depends on the ability of attackers to supply and run untrusted code locally.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor patch or newer release that fixes the sqstd_rex_newnode null pointer dereference.
  • Limit local execution of Squirrel scripts to trusted users and directories to reduce the attack surface.
  • Consider sandboxing or containerizing the Squirrel runtime to contain potential crashes.

Generated by OpenCVE AI on April 17, 2026 at 13:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Squirrel-lang
Squirrel-lang squirrel
CPEs cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:*
Vendors & Products Squirrel-lang
Squirrel-lang squirrel
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Albertodemichelis
Albertodemichelis squirrel
Vendors & Products Albertodemichelis
Albertodemichelis squirrel
Type Values Removed Values Added
Description A vulnerability was determined in Squirrel up to 3.2. This vulnerability affects the function sqstd_rex_newnode in the library sqstdlib/sqstdrex.cpp. Executing a manipulation can lead to null pointer dereference. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Title Squirrel sqstdrex.cpp sqstd_rex_newnode null pointer dereference
Weaknesses CWE-404
CWE-476
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-404

    Improper Resource Shutdown or Release

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Mar 2, 2026, 1:57 PM
Reserved
Feb 28, 2026, 2:53 PM
Status
Analyzed
Published
Mar 1, 2026, 10:16 AM
Modified
Jun 17, 2026, 10:43 AM