All advisories

Security advisoryCVE-2026-131874

Gargoyle 2023.1 through 2026.1.1 Plus Interpreter Infinite Loop via ReadString()

Published:

Severity
Medium6.8
Vulnerability type
Loop with Unreachable Exit Condition ('Infinite Loop') (CWE-835)
Credit
Discovered by Deus Rex Research
Published

CVSS 4.0 vector6.8 Medium

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1 vector5.5 Medium

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Description

Gargoyle 2023.1 through 2026.1.1 contains an infinite loop vulnerability in the bundled Plus interpreter's ReadString() function in terps/plus/loaddatabase.c that fails to handle end of file. Attackers can supply an empty, truncated, or crafted .plus game file that hangs Gargoyle at full CPU until the user kills it.

Affected versions

Gargoyle>= 2023.1, <= 2026.1.1

Remediation

View the upstream fix (opens in a new tab)

References

Advisories may be reused freely, without charge or registration.

To report a vulnerability in Deus Rex, contact disclosure@cyrex.tech.