Libmcrypt Multiple Buffer Overrun Vulnerabilities

BID:6510

Info

Libmcrypt Multiple Buffer Overrun Vulnerabilities

Bugtraq ID: 6510
Class: Boundary Condition Error
CVE: CVE-2003-0031
Remote: Yes
Local: No
Published: Jan 03 2003 12:00AM
Updated: Jul 11 2009 07:17PM
Credit: The discovery of this vulnerability is 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 Multiple Buffer Overrun Vulnerabilities

Multiple vulnerabilities have been discovered in libmcrypt. Various functions used to process user-supplied input are prone to buffer overrun conditions. This is due to insufficient bounds checking of user-supplied input. By exploiting this issue to overwrite sensitive locations in memory it may be possible to execute arbitrary commands with the privileges of the target process.

Exploit / POC

Libmcrypt Multiple Buffer Overrun Vulnerabilities

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 Multiple Buffer Overrun Vulnerabilities

Solution:
The vendor has identified the issues and has released an updated version which addresses the vulnerabilities. Users are advised to upgrade their library as soon as possible.

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.

Fix:


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 Multiple Buffer Overrun Vulnerabilities

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