Squirrel sqobject.h operator heap-based overflow
A security flaw has been discovered in Squirrel up to 3.2. This affects the function SQObjectPtr::operator in the library squirrel/sqobject.h. The manipulation results in heap-based buffer overflow. The attack needs to be approached locally. 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-2661
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:22 UTC · Revision 1
Source evidence
Squirrel sqobject.h operator heap-based overflow
core-osv · Original sourcePublished 18 Feb 2026, 19:02 UTC
A security flaw has been discovered in Squirrel up to 3.2. This affects the function SQObjectPtr::operator in the library squirrel/sqobject.h. The manipulation results in heap-based buffer overflow. The attack needs to be approached locally. 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-2661
Complete source record
{
"id": "17af89f9ddde97376eab8734a76e977a7b0d2198f8fc2997e8c1b2672a0f8dcf",
"url": "https://osv.dev/vulnerability/CVE-2026-2661",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Squirrel sqobject.h operator heap-based overflow",
"summary": "A security flaw has been discovered in Squirrel up to 3.2. This affects the function SQObjectPtr::operator in the library squirrel/sqobject.h. The manipulation results in heap-based buffer overflow. The attack needs to be approached locally. 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-2661",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-2661",
"aliases": [
"CVE-2026-2661"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"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-2661.json"
}
}
],
"modified": "2026-10-28T02:30:53.547332084Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2661.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2661",
"https://vuldb.com/?id.346459",
"https://vuldb.com/?submit.753165",
"https://github.com/albertodemichelis/squirrel/issues/310",
"https://vuldb.com/?ctiid.346459",
"https://github.com/oneafter/0122/blob/main/i310/repro"
],
"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/2xxx/CVE-2026-2661.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2661",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522173,
"published_at": "2026-02-18T19:02:06.58+00:00"
}