LibMCrypt Memory Leak Resource Exhaustion Vulnerability

BID:6512

Info

LibMCrypt Memory Leak Resource Exhaustion Vulnerability

Bugtraq ID: 6512
Class: Design Error
CVE: CVE-2003-0032
Remote: Yes
Local: No
Published: Jan 03 2003 12:00AM
Updated: Jul 11 2009 07:17PM
Credit: Vulnerability discovery credited to "Ilia A." <[email protected]>.
Vulnerable: Mcrypt libmcrypt 2.5.3
Mcrypt libmcrypt 2.5.2
+ SuSE Linux 8.1
Mcrypt libmcrypt 2.5.1 -r4
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.2
Mcrypt libmcrypt 2.5 .0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
Mcrypt libmcrypt 2.4.20
+ SuSE Linux 8.0 i386
+ SuSE Linux 8.0
Mcrypt libmcrypt 2.4.18
Mcrypt libmcrypt 2.4.15
+ SuSE Linux 7.3 sparc
+ SuSE Linux 7.3 ppc
+ SuSE Linux 7.3 i386
+ SuSE Linux 7.3
Mcrypt libmcrypt 2.4.10
+ SuSE Linux 7.2 i386
+ SuSE Linux 7.2
Mcrypt libmcrypt 2.4.9
Mcrypt libmcrypt 2.4.7
+ SuSE Linux 7.1 x86
+ SuSE Linux 7.1 ppc
+ SuSE Linux 7.1 alpha
+ SuSE Linux 7.1
Not Vulnerable: Mcrypt libmcrypt 2.5.5

Discussion

LibMCrypt Memory Leak Resource Exhaustion Vulnerability

libmcrypt is a freely available, open source replacement for standard UNIX crypt().

A memory leak has been reported in libmcrypt. When invoked, libmcrypt causes a small memory leak which is not reclaimed by the system. Because of this, services that use libmcrypt that are persistent could be used to invoke several instances of libmcrypt, resulting in a resource exhaustion vulnerability.

Exploit / POC

LibMCrypt Memory Leak Resource Exhaustion Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] &lt;mailto:[email protected]&gt;.

Solution / Fix

LibMCrypt Memory Leak Resource Exhaustion Vulnerability

Solution:
This vulnerability has been reported as being fixed in libcrypt versions 2.5.5 and later.

Gentoo Linux has released an advisory. Users who have installed dev-libs/libmcrypt-2.5.1-r4 or earlier are advised to update their systems by issuing the following commands:

emerge rsync
emerge libmcrypt
emerge clean

Conectiva has released a security advisory (CLA-2003:567) containing fixes. Users are advised to upgrade their mcrypt package as soon as possible.

Fixes:


Mcrypt libmcrypt 2.4.10

Mcrypt libmcrypt 2.4.15

Mcrypt libmcrypt 2.4.18

Mcrypt libmcrypt 2.4.20

Mcrypt libmcrypt 2.4.7

Mcrypt libmcrypt 2.4.9

Mcrypt libmcrypt 2.5 .0

Mcrypt libmcrypt 2.5.2

Mcrypt libmcrypt 2.5.3

References

LibMCrypt Memory Leak Resource Exhaustion Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report