<p>You can find opcodes disabled by cve-2010-5137 in <a href="https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L471" rel="nofollow noreferrer">bitcoin core</a>, where script interpreter throws <code>SCRIPT_ERR_DISABLED_OPCODE</code> error.</p>
<blockquote>
<p>specifically for the any one can spend any coin bug?</p>
</blockquote>
<p>I guess what you ask is about 2 fatal bugs in very early version of bitcoin, which did not disable opcodes but changed how interpreter works. Related opcodes are <code>OP_RETURN</code> and <code>OP_CODESEPARATOR</code>, but those are not disabled ones. There's already good answer from <a href="https://bitcoin.stackexchange.com/questions/38037/what-is-the-1-return-bug">old post</a> of here, which demonstrates how to exploit.</p>

CC BY-SA 4.0
2024-06-24T03:08:13.743Z
2024-06-24T03:08:13.743Z
Hyunhum Cho
<p>Lot of opcodes where disabled over the years.</p>
<p>But which opcodes where disabled Satoshi himself and specifically for the any one can spend any coin bug?</p>

<script><attack><history><satoshi-nakamoto><opcodes>
Which opcodes where disabled by Satoshi Nakamoto for cve 2010 5137
user2284570
# Which opcodes where disabled by Satoshi Nakamoto for cve 2010 5137

(Asked by: username_0 on 2020-09-18)

Lot of opcodes where disabled over the years.

But which opcodes where disabled Satoshi himself and specifically for the any one can spend any coin bug?

**Tags:** script, attack, history, satoshi-nakamoto, opcodes


---

## 1 answers

### Answer by username_1 on 2024-06-24. Score: 0 | Accepted answer

You can find opcodes disabled by cve-2010-5137 in [bitcoin core](https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L471), where script interpreter throws `SCRIPT_ERR_DISABLED_OPCODE` error.

> specifically for the any one can spend any coin bug?

I guess what you ask is about 2 fatal bugs in very early version of bitcoin, which did not disable opcodes but changed how interpreter works. Related opcodes are `OP_RETURN` and `OP_CODESEPARATOR`, but those are not disabled ones. There's already good answer from [old post](https://bitcoin.stackexchange.com/questions/38037/what-is-the-1-return-bug) of here, which demonstrates how to exploit.


---

