# CVE-2026-8258: Squirrel sqstdstring.cpp validate_format stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-05-11T00:45:11.651Z
- Modified: 2026-07-23T20:10:00.130Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- Squirrel: 3.0; 3.1; 3.2

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/albertodemichelis/squirrel/issues/325> (exploit, issue-tracking)
- <https://github.com/biniamf/pocs/tree/main/squirrel-validate_format-memcpy-oob> (exploit)
- <https://vuldb.com/vuln/362555> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/362555/cti> (permissions-required, signature)
- <https://vuldb.com/submit/809873> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-8258](https://www.cve.org/CVERecord?id=CVE-2026-8258), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-8258](https://nvd.nist.gov/vuln/detail/CVE-2026-8258), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-8258 · Whole record: https://cve.day/CVE-2026-8258.json · Rebuilt by cve.day 2026-11-25T22:59:21.180Z
