---
id: CVE-2026-8258
title: A flaw has been found in Squirrel up to 3.2
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…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-121
published: '2026-05-11'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8258'
references:
  - url: 'https://github.com/albertodemichelis/squirrel/issues/325'
    label: cna@vuldb.com
  - url: >-
      https://github.com/biniamf/pocs/tree/main/squirrel-validate_format-memcpy-oob
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/809873'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/362555'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/362555/cti'
    label: cna@vuldb.com
  - url: 'https://github.com/albertodemichelis/squirrel/issues/325'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00123
epssPercentile: 0.02424
ingestedAt: '2026-07-23T20:19:18.360Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
