CVE-2010-3858: Stack Memory Consumption DoS in Linux Kernel setup_arg_pages
- Vendors
- Debian ProjectLinuxCanonical
CVE-2010-3858 is a vulnerability in the Linux kernel's setup_arg_pages function (fs/exec.c) prior to version 2.6.36. When CONFIG_STACK_GROWSDOWN is enabled, the function fails to properly restrict the stack memory allocated for arguments and environment variables for 32-bit applications running on 64-bit platforms. This flaw allows local users to exploit the exec system call to consume excessive stack memory, leading to a denial of service (system crash). This issue is related to CVE-2010-2240.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker can exploit this vulnerability to cause a denial of service by crashing the system. By crafting an exec system call with excessive arguments or environment data, the attacker can exhaust stack memory, leading to a kernel panic or system instability.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, restrict access to untrusted local users and consider limiting the maximum size of arguments and environment variables passed to exec calls via system configuration or security modules, if possible.
Remediation
Patch, then assume compromise.
Upgrade the Linux kernel to version 2.6.36 or later, where the setup_arg_pages function has been fixed to properly restrict stack memory consumption for arguments and environment variables.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2010-3858 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2010-3858 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2010-3858?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2010-3858.
- Is there a patch for CVE-2010-3858?
- Upgrade the Linux kernel to version 2.6.36 or later, where the setup_arg_pages function has been fixed to properly restrict stack memory consumption for arguments and environment variables.
- What products are affected by CVE-2010-3858?
- Linux Kernel, Debian Project Debian Linux, and Canonical Ubuntu Linux.
- How severe is CVE-2010-3858?
- CVE-2010-3858 has a CVSS v2 score of 4.9 (Medium) and an EPSS score of 0.91% (61st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.