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 i
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.
- Published
- Mar 17, 2008
- Updated
- Jun 16, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-399
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| gnu | gcc | cpe:2.3:a:gnu:gcc |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gcc4.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | glibc | before 2.7-8 | 2.7-8 |
| Red Hat:enterprise_linux:3::as | kernel | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-BOOT | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-debuginfo | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-doc | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem-unsupported | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp-unsupported | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-source | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:3::as | kernel-unsupported | before 0:2.4.21-57.EL | 0:2.4.21-57.EL |
| Red Hat:enterprise_linux:4::as | kernel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-debuginfo | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-devel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-doc | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-hugemem | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-hugemem-devel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-largesmp | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-largesmp-devel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-smp | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-smp-devel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-xenU | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:4::as | kernel-xenU-devel | before 0:2.6.9-67.0.20.EL | 0:2.6.9-67.0.20.EL |
| Red Hat:enterprise_linux:5::client | kernel | before 0:2.6.18-53.1.19.el5 | 0:2.6.18-53.1.19.el5 |
+17
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-12886stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under certain33Monitor
- CVE-2002-2439Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.31Monitor
- CVE-2019-15847The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a s31Monitor
- CVE-2008-1685gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or27Monitor
- CVE-2021-3826Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of servic26Monitor
- CVE-2022-27943libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:glibc | 2.7-8 · Debian:12 | Package registry (OSV) |
| red hat:kernel | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-BOOT | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-doc | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-hugemem | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-hugemem-unsupported | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-PAE | 0:2.6.18-53.1.19.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-PAE-debuginfo | 0:2.6.18-53.1.19.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-smp | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-smp-unsupported | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-source | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-unsupported | 0:2.4.21-57.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=469058
- gcc.gnu.org/ml/gcc-patches/2008-03/msg00417.html
- gcc.gnu.org/ml/gcc-patches/2008-03/msg00428.html
- gcc.gnu.org/ml/gcc-patches/2008-03/msg00432.html
- gcc.gnu.org/ml/gcc-patches/2008-03/msg00499.html
- git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e40cd10ccff3d9fbffd57b93780bee4b7b9bff51
- lists.opensuse.org/opensuse-security-announce/2008-06/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2008-07/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2008-07/msg00002.html
- lists.vmware.com/pipermail/security-announce/2008/000023.html
- lwn.net/Articles/272048/#Comments
- marc.info/?l=git-commits-head&m=120492000901739&w=2
- rhn.redhat.com/errata/RHSA-2008-0508.html
- secunia.com/advisories/30110
- secunia.com/advisories/30116
- secunia.com/advisories/30818
- secunia.com/advisories/30850
- secunia.com/advisories/30890
- secunia.com/advisories/30962
- secunia.com/advisories/31246
Vendor advisories and official records. Exploit/PoC links are deliberately left out.