Description
Heap-based buffer overflow in the array_push function in hashcash.c for Hashcash before 1.21 might allow attackers to execute arbitrary code via crafted entries.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | hashcash | 1.21 | — |
| Debian 13 | hashcash | 1.21 | — |
| Debian 12 | hashcash | 1.21 | — |
| Debian 3.1 | hashcash | 1.17-1sarge1 | DSA-1114 |
Advisories 1
- DSA-1114 hashcash - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2006-2551 vdb-entry
- hashcash-arraypush-bo(27422) vdb-entry
- 20800 third-party-advisory
- 21146 third-party-advisory
- GLSA-200606-25 vendor-advisory
- DSA-1114 vendor-advisory
- 20846 third-party-advisory
- http://www.hashcash.org/source/CHANGELOG
- 18659 vdb-entry