CVE-2008-1367

GCC 4.3.x - Memory Corruption via Missing cld Instruction in String Manipulation Functions

Title source: llm
STIX 2.1

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.

References (28)

Core 28
Core References
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30962
Various Sources mailing-list x_refsource_mlist
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00499.html
Various Sources mailing-list x_refsource_mlist
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00428.html
Various Sources mailing-list x_refsource_mlist
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00432.html
Issue Tracking x_refsource_confirm
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469058
Exploit mailing-list x_refsource_mlist
http://lkml.org/lkml/2008/3/5/207
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30850
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30116
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0233.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30110
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/2222/references
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=git-commits-head&m=120492000901739&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/29084
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/41340
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=437312
Various Sources x_refsource_misc
http://lwn.net/Articles/272048/#Comments
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0211.html
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11108
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30890
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2008-0508.html
Various Sources mailing-list x_refsource_mlist
http://lists.vmware.com/pipermail/security-announce/2008/000023.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31246
Various Sources mailing-list x_refsource_mlist
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00417.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30818

Scores

EPSS 0.0436
EPSS Percentile 89.1%

Details

CWE
CWE-399
Status published
Products (1)
gnu/gcc 4.3
Published Mar 17, 2008
Tracked Since Feb 18, 2026