Vulnerability GHSA-f5p9-j34q-pwcc
High Risk
HIGH RISK
CVSS Score: 8.0
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
7 months ago
February 17, 2026 at 09:27 PM UTC
emp3r0r Affected by Concurrent Map Access DoS (panic/crash)
<0.0.0-20260212232424-ea4d074f081d
<0.0.0-20260212232424-ea4d074f081d
Summary
emp3r0r Affected by Concurrent Map Access DoS (panic/crash)
Details
Summary
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).
Vulnerable Component(with code examples)
Operator relay map had mixed access patterns (iteration and mutation without a single lock policy):
// vulnerable pattern (operator session map)
for sessionID, op := range OPERATORS { // iteration path
...
}
// concurrent mutation path elsewhere
OPERATORS[operatorSession] = &operator_t{...}
delete(OPERATORS, operatorSession)
Port-forwarding session map had read/write paths guarded inconsistently:
// vulnerable pattern (port forward map)
if sess, ok := PortFwds[id]; ok { // read path
...
}
PortFwds[id] = newSession // write path
delete(PortFwds, id) // delete path
FTP stream map similarly mixed concurrent iteration with mutation:
// vulnerable pattern (FTP stream map)
for token, stream := range FTPStreams { // iteration path
...
}
FTPStreams[token] = stream // write path
delete(FTPStreams, token) // delete path
Attack Vector
- Attacker (or stress traffic in authenticated flows) triggers high concurrency in normal control paths.
- Operator sessions connect/disconnect while message forwarding and file-transfer workflows are active.
- Concurrent read/write hits shared maps.
- Go runtime panics with concurrent map read/write error.
- C2 component exits, producing denial of service.
Proof of Concept
- Start C2 server with active operator session(s) in a lab environment.
- Generate rapid operator session churn (connect/disconnect loops).
- Simultaneously drive agent message tunnel traffic and/or file transfer activity.
- Observe crash signature in logs:
fatal error: concurrent map read and map write. - Optional: run with race detector in dev build to confirm race locations.
Impact
- C2 service interruption due to process panic/crash.
- Operational instability under load or deliberate churn.
- Repeated crash-restart cycles can degrade command reliability and incident response workflows.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
High Risk
2 hours ago
emp3r0r has an unauthenticated HTTP Polling DoS
<0.0.0-20260531142011-aed3d81641ab GHSA-4595-rvpx-4q34
<0.0.0-20260531142011-aed3d81641ab GHSA-4595-rvpx-4q34
Unknown
6 months ago
emp3r0r Affected by Concurrent Map Access DoS (panic/crash) in github.com/jm33-m0/emp3r0r/core
<0.0.0-20260212232424-ea4d074f081d GO-2026-4504
<0.0.0-20260212232424-ea4d074f081d GO-2026-4504
Impacted packages
Timeline
Published
7 months ago
February 17, 2026 at 09:27 PM UTC
Last Modified
6 months ago
February 23, 2026 at 07:41 PM UTC