CVE-2026-43981

Algernon is a small self-contained pure-Go web server. Prior to 1.17.6, in engine/luahandler.go, the sync.RWMutex protecting LoadCommonFunctions is released before L.Push() and L.PCall() execute. Since gopher-lua's LState is explicitly not goroutine-safe, concurrent requests race on the shared state causing Lua VM corruption. The Go race detector confirms this immediately under modest concurrency (ab -n 1000 -c 100). This vulnerability is fixed in 1.17.6.
CVSS

No CVSS.

Configurations

No configuration.

History

24 Jul 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Algernon es un pequeño servidor web autónomo y puramente Go. Antes de la versión 1.17.6, en engine/luahandler.go, el sync.RWMutex que protege LoadCommonFunctions se libera antes de que se ejecuten L.Push() y L.PCall(). Dado que el LState de gopher-lua no es explícitamente seguro para goroutines, las solicitudes concurrentes compiten por el estado compartido, causando corrupción de la VM de Lua. El detector de carreras de Go confirma esto inmediatamente bajo una concurrencia moderada (ab -n 1000 -c 100). Esta vulnerabilidad se corrige en la versión 1.17.6.

26 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-26 17:16

Updated : 2026-07-24 11:10


NVD link : CVE-2026-43981

Mitre link : CVE-2026-43981

CVE.ORG link : CVE-2026-43981


JSON object : View

Products Affected

No product.

CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')