Skip to content

CVE-2008-1367 gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i386, which can prevent the direction flag (DF) from being re...

HighCVSS 7.5 EPSS 2.8%
Published
Updated
Exploit status
No public exploit known

Description

gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i386, which can prevent the direction flag (DF) from being reset in violation of ABI conventions and cause data to be copied in the wrong direction during signal handling in the Linux kernel, which might allow context-dependent attackers to trigger memory corruption. NOTE: this issue was originally reported for CPU consumption in SBCL.

Affected products

ProductAffected versionsFixed in
GNU gcc = 4.3 No fix listed
debian/glibc(Debian:12) < 2.7-8 2.7-8
debian/glibc(Debian:13) < 2.7-8 2.7-8
debian/glibc(Debian:14) < 2.7-8 2.7-8

References