CVE-2007-3731: The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step…
Noroxi assessment
Priority: Monitor (action score 19/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.51% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: fai-kernels (Debian:4.0) 1.17+etch.13etch3; linux-2.6 (Debian:4.0) 2.6.18.dfsg.1-13etch3; user-mode-linux (Debian:4.0) 2.6.18-1um-2etch.13etch3.
Low priority for now. Upgrade to fai-kernels (Debian:4.0) 1.17+etch.13etch3; linux-2.6 (Debian:4.0) 2.6.18.dfsg.1-13etch3; user-mode-linux (Debian:4.0) 2.6.18-1um-2etch.13etch3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.
- Published
- Sep 17, 2007
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 44th percentile
- CWE
- CWE-20
Report tools
Action score
19
Low priority for now.
- CVSS
- 19 / 40 · 4.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.20
- linux linux kernel2.6.21
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | fai-kernels | before 1.17+etch.13etch3 | 1.17+etch.13etch3 |
| Debian:4.0 | linux-2.6 | before 2.6.18.dfsg.1-13etch3 | 2.6.18.dfsg.1-13etch3 |
| Debian:4.0 | user-mode-linux | before 2.6.18-1um-2etch.13etch3 | 2.6.18-1um-2etch.13etch3 |
| Red Hat:enterprise_linux:5::client | kernel | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-debuginfo | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-debuginfo-common | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-devel | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-doc | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-PAE | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-PAE-debuginfo | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-PAE-devel | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-xen | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-xen-debuginfo | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::client | kernel-xen-devel | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::server | kernel-kdump | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::server | kernel-kdump-debuginfo | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
| Red Hat:enterprise_linux:5::server | kernel-kdump-devel | before 0:2.6.18-8.1.15.el5 | 0:2.6.18-8.1.15.el5 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2007-3848Aug 14, 2007 · Linux kernel 2.4.35 and other versions allows local users to send arbitrary signals to a child process that is running at higher privileges…7Monitor
- ← EarlierCVE-2007-3740Sep 13, 2007 · The CIFS filesystem in the Linux kernel before 2.6.22, when Unix extension support is enabled, does not honor the umask of a process, which…17Monitor
- Later →CVE-2007-0997Sep 18, 2007 · Race condition in the tee (sys_tee) system call in the Linux kernel 2.6.17 through 2.6.17.6 might allow local users to cause a denial of…27Monitor
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:fai-kernels | 1.17+etch.13etch3 · Debian:4.0 | Package registry (OSV) |
| debian:linux-2.6 | 2.6.18.dfsg.1-13etch3 · Debian:4.0 | Package registry (OSV) |
| debian:user-mode-linux | 2.6.18-1um-2etch.13etch3 · Debian:4.0 | Package registry (OSV) |
| red hat:kernel | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-devel | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-doc | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-kdump | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:kernel-PAE | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-PAE-debuginfo | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-PAE-devel | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-xen | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-xen-debuginfo | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-xen-devel | 0:2.6.18-8.1.15.el5 · Red Hat:enterprise_linux:5::client | 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.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- C
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:L/AC:L/Au:N/C:N/I:N/A:C
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.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=a10d9a71bafd3a283da240d2868e71346d2aef6f
- osvdb.org/37286
- secunia.com/advisories/26935
- secunia.com/advisories/26955
- secunia.com/advisories/26978
- secunia.com/advisories/27322
- secunia.com/advisories/29159
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0094
- www.debian.org/security/2007/dsa-1378
- www.redhat.com/support/errata/RHSA-2007-0940.html
- www.securityfocus.com/archive/1/488972/100/0/threaded
- www.securityfocus.com/bid/25801
- www.ubuntu.com/usn/usn-518-1
- bugzilla.redhat.com/show_bug.cgi?id=248324
- issues.rpath.com/browse/RPL-2304
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10394
Vendor advisories and official records. Exploit/PoC links are deliberately left out.