CVE-2010-5109: Buffer Overflow

Published Jun 12, 2012
·
Updated

Created attachment 591258 [details] proposed patch to fix possible buffer overflows.

Description of problem: compiler warning: call ... will always overflow destination buffer. indeed, there is a trivial bug in the code, no space is reserved for trailing \0. patch to fix: --- libytnef-1.5/ytnef.c 2004-08-26 17:09:05.000000000 +0000 +++ libytnef-1.5/ytnef.c 2012-06-08 19:34:07.826123387 +0000 @@ -1327,7 +1327,7 @@ ULONG compressedSize, uncompressedSize, magic, crc32; compPrebuf.size = strlen(RTFPREBUF); - compPrebuf.data = calloc(compPrebuf.size, 1); + compPrebuf.data = calloc(compPrebuf.size+1, 1); strcpy(compPrebuf.data, RTFPREBUF); src = p->data;

Version-Release number of selected component (if applicable): libytnef-1.5-7.fc17

Other sources

Off-by-one error in the DecompressRTF function in ytnef.c in Yerase's TNEF Stream Reader allows remote attackers to cause a denial of service (crash) via a crafted TNEF file, which triggers a buffer overflow.

Affected Software

3 affected components
Fedoraproject Fedora=17
Fedoraproject Fedora=16
Randall Hand Yerase\'s Tnef Stream Reader

Event History

Jun 12, 2012
Data Sourced
via Red Hat·07:03 PM
DescriptionSeverityAffected Software
May 5, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:06 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-5109?

CVE-2010-5109 is a vulnerability that has been categorized with a medium severity rating due to potential buffer overflows.

2

How do I fix CVE-2010-5109?

To fix CVE-2010-5109, it is recommended to apply the proposed patch provided in the associated bug report.

3

Which software is affected by CVE-2010-5109?

CVE-2010-5109 affects Randall Hand's Yerase's Tnef Stream Reader as well as Fedora versions 16 and 17.

4

What types of vulnerabilities does CVE-2010-5109 involve?

CVE-2010-5109 involves buffer overflow vulnerabilities that could be exploited in certain software.

5

Is there a public discussion regarding CVE-2010-5109?

Yes, there have been public discussions about CVE-2010-5109 in security mailing lists and bug tracking systems.

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