REDHAT-BUG-855029: Buffer Overflow

Published Sep 6, 2012
·
Updated

A buffer overflow was reported [1],[2] in mcrypt version 2.6.8 and earlier due to a boundary error in the processing of an encrypted file (via the checkfilehead() function in src/extra.c). If a user were tricked into attempting to decrypt a specially-crafted .nc encrypted flie, this flaw would cause a stack-based buffer overflow that could potentially lead to arbitrary code execution.

Note that this is caught by FORTIFYSOURCE, which renders this to being a crash-only bug on Fedora.

There is currently no upstream patches for this flaw.

[1] https://secunia.com/advisories/50507/ [2] https://bugs.gentoo.org/showbug.cgi?id=434112

Affected Software

1 affected component
mcrypt mcrypt<2.6.8

Event History

Sep 6, 2012
Data Sourced
02:31 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-855029?

The severity of REDHAT-BUG-855029 is classified as high due to the potential for remote code execution resulting from a buffer overflow.

2

How do I fix REDHAT-BUG-855029?

To fix REDHAT-BUG-855029, update mcrypt to the latest version that is higher than 2.6.8.

3

What versions are affected by REDHAT-BUG-855029?

Versions of mcrypt prior to 2.6.8 are affected by REDHAT-BUG-855029.

4

What type of vulnerability is REDHAT-BUG-855029?

REDHAT-BUG-855029 is a buffer overflow vulnerability in the mcrypt software.

5

What does the check_file_head() function do in REDHAT-BUG-855029?

The check_file_head() function in REDHAT-BUG-855029 is responsible for processing encrypted files, and it is where the boundary error occurs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203