GLSA-200606-25 : Hashcash: Possible heap overflow

High Nessus Plugin ID 21758


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200606-25 (Hashcash: Possible heap overflow)

Andreas Seltenreich has reported a possible heap overflow in the array_push() function in hashcash.c, as a result of an incorrect amount of allocated memory for the 'ARRAY' structure.
Impact :

By sending malicious entries to the Hashcash utility, an attacker may be able to cause an overflow, potentially resulting in the execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.


All Hashcash users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/hashcash-1.21'

See Also

Plugin Details

Severity: High

ID: 21758

File Name: gentoo_GLSA-200606-25.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2006/06/27

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:hashcash, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2006/06/26

Vulnerability Publication Date: 2006/03/24

Reference Information

CVE: CVE-2006-3251

OSVDB: 26865

GLSA: 200606-25