{"id":"CVE-2026-26201","aliases":["CVE-2026-26201","GHSA-f5p9-j34q-pwcc","GO-2026-4504"],"related":[],"kind":"vulnerability","state":"published","title":"emp3r0r Affected by Concurrent Map Access DoS (panic/crash)","summary":"emp3r0r is a C2 designed by Linux users for Linux environments. Prior to version 3.21.2, multiple shared maps are accessed without consistent synchronization across goroutines. Under concurrent activity, Go runtime can trigger `fatal error: concurrent map read and map write`, causing C2 process crash (availability loss). Version 3.21.2 fixes this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"emp3r0r is a C2 designed by Linux users for Linux environments. Prior to version 3.21.2, multiple shared maps are accessed without consistent synchronization across goroutines. Under concurrent activity, Go runtime can trigger `fatal error: concurrent map read and map write`, causing C2 process crash (availability loss). Version 3.21.2 fixes this issue.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nMultiple shared maps are accessed without consistent synchronization across goroutines. Under concurrent activity, Go runtime can trigger `fatal error: concurrent map read and map write`, causing C2 process crash (availability loss).\n\n## Vulnerable Component(with code examples)\n\nOperator relay map had mixed access patterns (iteration and mutation without a single lock policy):\n\n```go\n// vulnerable pattern (operator session map)\nfor sessionID, op := range OPERATORS { // iteration path\n    ...\n}\n\n// concurrent mutation path elsewhere\nOPERATORS[operatorSession] = &operator_t{...}\ndelete(OPERATORS, operatorSession)\n```\n\nPort-forwarding session map had read/write paths guarded inconsistently:\n\n```go\n// vulnerable pattern (port forward map)\nif sess, ok := PortFwds[id]; ok { // read path\n    ...\n}\n\nPortFwds[id] = newSession // write path\ndelete(PortFwds, id)      // delete path\n```\n\nFTP stream map similarly mixed concurrent iteration with mutation:\n\n```go\n// vulnerable pattern (FTP stream map)\nfor token, stream := range FTPStreams { // iteration path\n    ...\n}\n\nFTPStreams[token] = stream // write path\ndelete(FTPStreams, token)  // delete path\n```\n\n## Attack Vector\n\n1. Attacker (or stress traffic in authenticated flows) triggers high concurrency in normal control paths.\n2. Operator sessions connect/disconnect while message forwarding and file-transfer workflows are active.\n3. Concurrent read/write hits shared maps.\n4. Go runtime panics with concurrent map read/write error.\n5. C2 component exits, producing denial of service.\n\n## Proof of Concept\n\n1. Start C2 server with active operator session(s) in a lab environment.\n2. Generate rapid operator session churn (connect/disconnect loops).\n3. Simultaneously drive agent message tunnel traffic and/or file transfer activity.\n4. Observe crash signature in logs: `fatal error: concurrent map read and map write`.\n5. Optional: run with race detector in dev build to confirm race locations.\n\n## Impact\n\n- C2 service interruption due to process panic/crash.\n- Operational instability under load or deliberate churn.\n- Repeated crash-restart cycles can degrade command reliability and incident response workflows.","format":"markdown","source":"ghsa"},{"lang":"en","text":"emp3r0r Affected by Concurrent Map Access DoS (panic/crash) in github.com/jm33-m0/emp3r0r/core","format":"markdown","source":"go"},{"lang":"es","text":"emp3r0r es un C2 diseñado por usuarios de Linux para entornos Linux. Antes de la versión 3.21.2, se acceden a múltiples mapas compartidos sin sincronización consistente entre goroutines. Bajo actividad concurrente, el tiempo de ejecución de Go puede desencadenar 'fatal error: concurrent map read and map write', causando el fallo del proceso C2 (pérdida de disponibilidad). La versión 3.21.2 soluciona este problema.","source":"nvd"}],"published":"2026-02-17T21:27:58.000Z","modified":"2026-06-17T10:25:55.907Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","score":7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-362","CWE-663"],"affected":[{"ranges":[{"version":"< 3.21.2","status":"affected"}],"vendor":"jm33-m0","product":"emp3r0r","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260212232424-ea4d074f081d"}],"ecosystem":"Go","package":"github.com/jm33-m0/emp3r0r/core","purl":"pkg:golang/github.com/jm33-m0/emp3r0r/core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260212232424-ea4d074f081d"}],"ecosystem":"Go","package":"github.com/jm33-m0/emp3r0r/core","purl":"pkg:golang/github.com/jm33-m0/emp3r0r/core","source":"go"},{"ranges":[{"status":"affected","fixed":"3.21.2"}],"vendor":"jm33-m0","product":"emp3r0r","cpe":"cpe:2.3:a:jm33-m0:emp3r0r:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jm33-m0/emp3r0r/security/advisories/GHSA-f5p9-j34q-pwcc","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/jm33-m0/emp3r0r/commit/ea4d074f081dac6293f3aec38f01def5f08d5af5","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/jm33-m0/emp3r0r/releases/tag/v3.21.2","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26201","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/jm33-m0/emp3r0r","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-19T21:15:33.676Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26201","url":"https://www.cve.org/CVERecord?id=CVE-2026-26201","licence":"CVE Terms of Use","modified":"2026-02-19T21:22:50.955Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f5p9-j34q-pwcc","url":"https://github.com/advisories/GHSA-f5p9-j34q-pwcc","licence":"CC-BY-4.0","modified":"2026-02-23T19:41:15.897Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4504","url":"https://pkg.go.dev/vuln/GO-2026-4504","licence":"CC-BY-4.0","modified":"2026-02-23T19:41:15.897Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26201","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26201","licence":"Public domain","modified":"2026-06-17T10:25:55.907Z"}],"updatedAt":"2026-11-25T22:59:14.244Z","epss":{"score":0.00339,"percentile":0.29358,"date":"2026-12-01T12:00:22.000Z"}}