CVE-2023-50428 Bitcoin inscriptions are a bug
Bitcoin Core and Bitcoin Knots allowed the datacarrier size limit to be bypassed by disguising data as executable script, so arbitrary data could be embedded in transactions. This was used in practice by Inscriptions during 2022 and 2023, though the classification as a vulnerability is disputed.
nvd.nist.gov
Published on nvd.nist.gov
The original lives on nvd.nist.gov
We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the datacarrier size limit only counted data pushed as data, not data hidden inside script opcodes that are never executed.
Impact
The text says the limit could be bypassed and that this was exploited in the wild, but it also notes that some consider it not a bug, so the practical harm is disputed.
What the attacker needed
Ability to create a Bitcoin transaction
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Bitcoin transactions can carry a small extra field for data, and the software limits how big that field may be. The report says people found a way to hide larger data inside the part of a transaction that normally holds small instructions, so the size limit did not apply. Some people say this is not really a security bug at all.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.