256//Red Team
← Door 1 · Advent Calendar 2026

RT-2026-018: Mujina: a misbehaving pool could quietly stop your miner

Status: Fixed in commit 3234f75 (2026-08-14) · Severity: High (draft score 8.2 of 10) · CVE: Not requested · Published: 2026-12-01

In short

Mujina is the 256 Foundation's own open-source mining firmware. It stays connected to a mining pool, which sends it work. This one is on us: our own Red Team found that Mujina trusted the pool a little too much.

A pool could send one message that never ends, and Mujina would keep storing it until it could run out of memory. Or the pool could go quiet, and Mujina would wait for work forever. Either way, mining stops. Only someone running your pool, or tampering with the traffic to it, can do this.

Make sure your Mujina build includes commit 3234f75 (2026-08-14) or later.

Am I affected?

The attacker must either run the pool you mine on, or be able to change the unencrypted traffic between your miner and the pool: for example, someone on the same network, a hacked router or a hostile ISP.

What was wrong

Imagine the pool phoning your miner, and the miner writing down every word until the sentence ends. A hostile pool just never finishes the sentence. The miner keeps writing, page after page, until it runs out of paper. Or the pool stops talking, and the miner holds the phone forever, never hanging up to call back.

In plain terms, Mujina had no size limit on a message from the pool, and no time limit for a pool that stopped sending work.

What could an attacker do?

Stop your miner from mining, in one of three ways:

What we tested: on a test setup that mines with an ordinary computer's processor, we saw the memory growth and a lasting stall, but not a full out-of-memory shutdown.

What we did not show: running the attacker's code on the miner, redirecting payouts, stealing hashrate or damaging hardware. We found no memory corruption.

How we fixed it

The Mujina maintainers merged PR #89 on 2026-08-14. It:

That day we pointed Mujina at a deliberately hostile pool: the oversized message was rejected and the miner recovered cleanly on every recorded run. A 2026-09-02 review found all three fixes on later code and confirmed the old build still had the problem. On 2026-11-27 we rechecked the source, without rerunning tests: the fix is still there.

What you can do now

Technical details

For readers who want the specifics:

Timeline

The Red Team and the Mujina maintainers are both part of the 256 Foundation, so there was no separate vendor disclosure.

Date Event
2026-08-07 Found in a 256 Foundation Red Team source review; fix opened as PR #89
2026-08-14 Fix tested against a hostile pool and merged
2026-09-02 Second review confirmed the fixes on later code; the older build still had the problem
2026-11-27 Source review reconfirmed the fix
2026-12-01 Advisory published

Credits

Found by the 256 Foundation Red Team. Fixed, reviewed and merged by the Mujina maintainers.

References

Revision history

Date Change
2026-12-01 Initial publication

The 256 Foundation follows coordinated vulnerability disclosure. See our Responsible Disclosure Policy.