CVE-2026-131873
MEDIUM
NVD
CVSS Score
6.1
Severity
MEDIUM
Published
Nov 18, 2026
Vendor
unknown
Description
Gargoyle 2023.1 through 2026.1.1 contains a stack-based buffer overflow vulnerability in the bundled Plus interpreter's ReadAction() function in terps/plus/loaddatabase.c, which never bounds-checks the index into the 1024-entry conditions array. Attackers can supply a crafted or truncated .plus game file with unterminated action conditions to write file-controlled values past the array and crash the player.
References
- https://github.com/garglk/garglk/blob/2026.1.1/terps/plus/loaddatabase.c#L732-L742
- https://github.com/garglk/garglk/commit/45385f105b825521bf4296ef8d046fbbdd8dda7f
- https://github.com/garglk/garglk/pull/1041
- https://www.vulncheck.com/advisories/gargoyle-2023.1-through-2026.1.1-plus-interpreter-stack-buffer-overflow-via-readaction