Author: Jeremy 2017-01-03 03:27:44
Published on: 2017-01-03T03:27:44+00:00
A user on the bitcoin-dev mailing list raised concern over a potential attack vector using a specific pk_script. The script in question contains repeated op_2dup commands and ends with op_hash160, op_equalverify, and op_checksig. While it is still valid, the maximum size of a script element is 520 bytes, limiting the damage that could be done to roughly 10 MB. However, the real concern lies with op_dup/op_cat style bugs that could cause out of memory errors.
Updated on: 2023-06-11T21:02:30.945578+00:00