CVE-2026-9541 Squirrel Cnut File sqobject.cpp ReadObject heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in Squirrel's Cnut file handler allows local attackers to execute arbitrary code or escalate privileges.

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-9541?

CVE-2026-9541 is a medium-severity memory corruption vulnerability in Squirrel, published on 26 May 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 Squirrel up to 3.2. Impacted is the function ReadObject of the file squirrel/sqobject.cpp of the component Cnut File Handler. Performing a manipulation results in heap-based buffer overflow. The attack is only possible with local access. 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.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2026-9541?

It affects 1 product.

Products include Squirrel-Lang Squirrel.

How do I fix CVE-2026-9541?

No fix has been published for CVE-2026-9541 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-9541 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-9541, GHSA-w3m6-w27h-v4g9, UBUNTU-CVE-2026-9541.

Is CVE-2026-9541 in your software?

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

Check your SBOMs for free