Debian Security Advisory

DSA-122-1 zlib -- malloc error (double free)

Date Reported:
11 Mar 2002
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2002-0059.
More information:

The compression library zlib has a flaw in which it attempts to free memory more than once under certain conditions. This can possibly be exploited to run arbitrary code in a program that includes zlib. If a network application running as root is linked to zlib, this could potentially lead to a remote root compromise. No exploits are known at this time. This vulnerability is assigned the CVE candidate name of CAN-2002-0059.

The zlib vulnerability is fixed in the Debian zlib package version 1.1.3-5.1. A number of programs either link statically to zlib or include a private copy of zlib code. These programs must also be upgraded to eliminate the zlib vulnerability. The affected packages and fixed versions follow:

  • amaya 2.4-1potato1
  • dictd 1.4.9-9potato1
  • erlang 49.1-10.1
  • freeamp 2.0.6-2.1
  • mirrordir 0.10.48-2.1
  • ppp 2.3.11-1.5
  • rsync 2.3.2-1.6
  • vrweb 1.5-5.1

Those using the pre-release (testing) version of Debian should upgrade to zlib 1.1.3-19.1 or a later version. Note that since this version of Debian has not yet been released it may not be available immediately for all architectures. Debian 2.2 (potato) is the latest supported release.

We recommend that you upgrade your packages immediately. Note that you should restart all programs that use the shared zlib library in order for the fix to take effect. This is most easily done by rebooting the system.

Fixed in:

Debian GNU/Linux 2.2 (potato)

MD5 checksum: 8b7e02c4e32b5af668eb546d71170620
MD5 checksum: 26451580b96e586120f8edb57ae07855
MD5 checksum: c6e6bdcc444124e7a12ef924cfd4e94f
MD5 checksum: d39c2bd83ed1178e441c55be2d4ca980
MD5 checksum: 4c9594e4e9ecd32f932ef1c441e1926a
MD5 checksum: 48b631745b1ddfe02be7dc06e9695fa2
MD5 checksum: 5c356b5999d62763343c930c6c1d5aa2
MD5 checksum: 5bd1fbceb6a810da65aec534cf3a3234
MD5 checksum: 839961cc3ed655757c1c802fd03efd56
MD5 checksum: cb1c985cd95a9f59a517e14e24d2a7e8
MD5 checksum: 3a1cf6315b17f2f83d5aea971d8e468d
MD5 checksum: 75a5827497f1d4c23aaad79358723079
MD5 checksum: f6db414ebdbad942698243dd9b5068d7
MD5 checksum: 32bf6c8c200f3efbf7ee5b3016ce512a
MD5 checksum: 85be86d09c96de9f1b6672ec172700cd
MD5 checksum: e87bcdec444fb501a38a6cd917bf1428
MD5 checksum: 6ab5b82c42f9455d8126afe111a0020d
MD5 checksum: 68a4a7329b43a42d695ef1d57c483113
Architecture-independent component:
MD5 checksum: 8c9400db85a52e19b979bba867ad1ecd
MD5 checksum: 65e8b03fb8e56695d1367a5dc6747a45
MD5 checksum: 74c2d0ac9fb9c0d27c59610317256d1e
MD5 checksum: 8e434427d2962da24852bdbf8504d916
Alpha: Fixed erlang and freeamp packages are not yet available.
MD5 checksum: 103e503b9cdea75b1b1180184f09ee06
MD5 checksum: 587a8fad2ea2ea65ac9136034121d763
MD5 checksum: 392faaa8797b42039f710a197a449eeb
MD5 checksum: 864abf2f06ca92b59519eb68ac7792fe
MD5 checksum: 25437980d4ab9d19a7867362eeb5223e
MD5 checksum: 89b44c524f87976d50527e740a6568e1
MD5 checksum: 0f1787afbf74aac8dbd1838116682477
MD5 checksum: 5c4bec088a589a7fc2d95ed2631b6c3b
MD5 checksum: 21cbcdb89af9bfad1d67e32250092252
MD5 checksum: eda30505a1272966bb38efe8a866355f
ARM: Fixed erlang and freeamp packages are not yet available
MD5 checksum: 98366f4267c4d33a750ef54555f510e6
MD5 checksum: 18f41595d4f1fb35479d37b57c54e539
MD5 checksum: edaa15b32639ba25fcfa093fdd8639da
MD5 checksum: 12a1fdb998a2b99909c5f64326c517c8
MD5 checksum: 2143bc17f7f3627cf2ac76a886ee83b9
MD5 checksum: df6bf519af26c155b059a1d72e237be5
MD5 checksum: c368b4b16739004d1da8d99d616a53af
MD5 checksum: f32088581e8ca649264f5ead2b8ff662
MD5 checksum: b39746f9b8f5d0a1689de2ae3c87c067
MD5 checksum: e65571a96e96e55d83030e6f8ea62646
Intel ia32:
MD5 checksum: 9edc31d21f777409a4e836eac02edaf7
MD5 checksum: 1ef7ecdd761ae384185ce519a3a6e723
MD5 checksum: ff61f3719b33c0c839f3447f72066d78
MD5 checksum: d933a67f85b37f5b91b60bb7052ba443
MD5 checksum: 0e60fd65d7c36c8fb2dc2dda5ae78ce7
MD5 checksum: 05508140d8b28de7a9677b442b034ca2
MD5 checksum: 540e4bca658ab95e92b232cba362a0e8
MD5 checksum: fd0d7ceb5fa949455b87b3beec7809d8
MD5 checksum: aab4d275165c490a7a153c080d26c232
MD5 checksum: dbb3fd68442fc31cd474f73feb6e69cd
MD5 checksum: 38b6552e9531c4082e0e26b7b309a1bc
MD5 checksum: 3b7a51b2f7920fbbdc41d0385d633277
MD5 checksum: ad125010b4fe3fd81450df3d9a4f4495
MD5 checksum: a22ed0933265d6fc60e088e7b9fac767
MD5 checksum: 4bd5ee2a61508ad5a65c1f2cfdc999d1
MD5 checksum: fe990607608285642f4f5a8834a43515
Motorola 680x0: Fixed amaya, erlang, and freeamp packages are not yet available
MD5 checksum: 53f263726d3ac8cdf9871f2afa1404e1
MD5 checksum: 5deebe594adb9c3fce05340aab13a93b
MD5 checksum: f5f484a482df62b25c6672b0e6a36840
MD5 checksum: 41f54ba14ecaeb73b3e67f47fc4b449c
MD5 checksum: 6ddd7d495dddb8adab5f1ce2cb89cf46
MD5 checksum: ed20e21e130998cdd9c3067c60a85284
MD5 checksum: 32f000160aaf7aeffe679340499a077d
MD5 checksum: 8d5a20517f70e9e320effdbb94960d30
MD5 checksum: 0138affc09403329102cb2ac8c1e3233
MD5 checksum: f793784742e28455c638c5f222ad35ec
MD5 checksum: 635468964d16fedf4adf2bc82ffb2487
MD5 checksum: 180c1116e2ab5cc253ccdd904c895a1c
MD5 checksum: bb8952f706da3a6220edfa1a2517b427
MD5 checksum: 1c9bfdbda16f812b5710489f69ed769b
MD5 checksum: 4a98275c96c880f922cc141660fe31a6
MD5 checksum: 43ae8f7d469b2d68c04f10ed4fedd09c
MD5 checksum: a2f66003d6dbb68d4a45b82bfde535ba
MD5 checksum: 208ee03e22c774110e6c1ce8058cb6ff
MD5 checksum: 9a99930387c2a4e113d72b1e98a0f22d
MD5 checksum: 42b2797840af971b1539804f24961f9b
MD5 checksum: 1418015984f8eae6900c14aea7e34e27
MD5 checksum: f3d4c6e5ac91121cc1788ad2918be87b
Sun Sparc: Fixed erlang packages are not yet available
MD5 checksum: 66daff720b4842ba2ffa189cb3ec71e1
MD5 checksum: f21c262fc6ce524e4fa8890e9df664df
MD5 checksum: 50e092399da866eb963a5d1d8334231e
MD5 checksum: 5d98e0b0fddfca6f7dd3419845dc0716
MD5 checksum: 9a9aae3e2675ceb57ea72f4fb97ee15f
MD5 checksum: c866d84dcb7bdbf15c5f6fc248763a7c
MD5 checksum: d8244127cddcef161e8897d97e01c412
MD5 checksum: 9e6908bc41505b6b9c52181106656295
MD5 checksum: 042eb6d05e0cc945b58f5016dbebb0b9
MD5 checksum: 5f05c34d1a08204fe7112f2968cf092e
MD5 checksum: adb48a5e589c83b0f0bcb362b6ae9121
MD5 checksum: 23fda7fd35dddb0d6e57a4042b86c727
MD5 checksum: 6e1acae215a1e1073184936958f07d31

MD5 checksums of the listed files are available in the original advisory.