Squirrel Cnut File sqobject.cpp ReadObject heap-based overflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-9541
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:16 UTC · Revision 1
Source evidence
Squirrel Cnut File sqobject.cpp ReadObject heap-based overflow
core-osv · Original sourcePublished 26 May 2026, 11:45 UTC
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.
osv:CVE-2026-9541
Complete source record
{
"id": "bddc4df9a0bc41b550a3bd8b3b65c5f04958f4d604b37d90e08ebe798dadb18f",
"url": "https://osv.dev/vulnerability/CVE-2026-9541",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Squirrel Cnut File sqobject.cpp ReadObject heap-based overflow",
"summary": "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.",
"evidence": "osv:CVE-2026-9541",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-9541",
"aliases": [
"CVE-2026-9541"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/albertodemichelis/squirrel",
"type": "GIT",
"events": [
{
"introduced": "c52b25d864400197fa4d64c46254d8b1de06c2fa"
},
{
"last_affected": "f92bc298784ceea459b12e2de33bdff672bfeb83"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.1"
},
{
"last_affected": "3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "3.2"
},
{
"last_affected": "3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.1",
"3.2",
"v3.2",
"v3.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9541.json"
}
}
],
"modified": "2026-10-28T02:30:28.784252726Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9541.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-9541",
"https://vuldb.com/submit/814826",
"https://vuldb.com/vuln/365602",
"https://github.com/albertodemichelis/squirrel/issues/327",
"https://vuldb.com/vuln/365602/cti",
"https://github.com/biniamf/pocs/tree/main/squirrel-sqobject-readobject-neg-len-oob"
],
"provider_metadata": {
"cwe_ids": [
"CWE-119",
"CWE-122"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "3.0"
},
{
"last_affected": "3.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9541.json"
}
},
"related_cves": [
{
"value": "CVE-2026-9541",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495776,
"published_at": "2026-05-26T11:45:10.18+00:00"
}