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…
Check your servers for CVE-2008-1367
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-1367 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 2.79%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 87.1% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-1367 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-1367RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-1367Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-1367
trivy image --scanners vuln IMAGE | grep CVE-2008-1367
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 30962 secunia.com · third party advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469058 bugs.debian.org
- 30850 secunia.com · third party advisory
- 30116 secunia.com · third party advisory
- RHSA-2008:0233 redhat.com · vendor advisory
- 30110 secunia.com · third party advisory
- SUSE-SA:2008:031 lists.opensuse.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=437312 bugzilla.redhat.com
- RHSA-2008:0211 redhat.com · vendor advisory
- 30890 secunia.com · third party advisory
- RHSA-2008:0508 rhn.redhat.com · vendor advisory
- SUSE-SA:2008:030 lists.opensuse.org · vendor advisory
4 more
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e40cd10ccff3d9fbffd57b93780bee4b7b9bff51 git.kernel.org
- 31246 secunia.com · third party advisory
- 30818 secunia.com · third party advisory
- SUSE-SA:2008:032 lists.opensuse.org · vendor advisory
Other references
- [gcc-patches] 20080307 Re: [PATCH, i386]: Emit cld instruction when stringops are used gcc.gnu.org · mailing list
- [gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used gcc.gnu.org · mailing list
- [gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used gcc.gnu.org · mailing list
- [linux-kernel] 20080305 Linux doesn't follow x86/x86-64 ABI wrt direction flag lkml.org · mailing list
- ADV-2008-2222 vupen.com · vdb entry
- [git-commits-head] 20080307 x86: clear DF before calling signal handler marc.info · mailing list
- 29084 securityfocus.com · vdb entry
- gcc-cld-dos(41340) exchange.xforce.ibmcloud.com · vdb entry
- http://lwn.net/Articles/272048/#Comments lwn.net
- oval:org.mitre.oval:def:11108 oval.cisecurity.org · vdb entry, signature
- [Security-announce] 20080728 VMSA-2008-00011 Updated ESX service console packages for Samba and vmnix lists.vmware.com · mailing list
- [gcc-patches] 20080306 [PATCH, i386]: Emit cld instruction when stringops are used gcc.gnu.org · mailing list
Source: the record CVE-2008-1367 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse