Skip to content
Heist/ feed
Back to feed
Low

Squirrel sqstdstring.cpp validate_format stack-based overflow

Type: advisorySources: OSV

A flaw has been found in Squirrel up to 3.2. Impacted is the function validate_format in the library sqstdlib/sqstdstring.cpp. Executing a manipulation can lead to stack-based buffer overflow. The attack can only be executed locally. The exploit has been published and may be used. 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-8258
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:10 UTC · Revision 1

Source evidence

Squirrel sqstdstring.cpp validate_format stack-based overflow

core-osv · Original source

Published 11 May 2026, 00:45 UTC

A flaw has been found in Squirrel up to 3.2. Impacted is the function validate_format in the library sqstdlib/sqstdstring.cpp. Executing a manipulation can lead to stack-based buffer overflow. The attack can only be executed locally. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

osv:CVE-2026-8258
Complete source record
{
  "id": "4fd30e4f7d3ec7149232934b55e2fd21f1ada45be67421c2d59acd0b86a2484b",
  "url": "https://osv.dev/vulnerability/CVE-2026-8258",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Squirrel sqstdstring.cpp validate_format stack-based overflow",
    "summary": "A flaw has been found in Squirrel up to 3.2. Impacted is the function validate_format in the library sqstdlib/sqstdstring.cpp. Executing a manipulation can lead to stack-based buffer overflow. The attack can only be executed locally. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.",
    "evidence": "osv:CVE-2026-8258",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-8258",
      "aliases": [
        "CVE-2026-8258"
      ],
      "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"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1",
            "3.2",
            "v3.2",
            "v3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8258.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.382346625Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8258.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-8258",
        "https://vuldb.com/submit/809873",
        "https://vuldb.com/vuln/362555",
        "https://github.com/albertodemichelis/squirrel/issues/325",
        "https://vuldb.com/vuln/362555/cti",
        "https://github.com/biniamf/pocs/tree/main/squirrel-validate_format-memcpy-oob"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-121"
        ],
        "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/8xxx/CVE-2026-8258.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-8258",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489658,
  "published_at": "2026-05-11T00:45:11.651+00:00"
}