cve.bz

CVE-2015-3339 Race Condition

no score yetEPSS 0.3%

No CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by executing a setuid program at a time instant when a chown to root is in progress, and the ownership is changed but the setuid bit is not yet stripped.
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-3339 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-3339?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-3339?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-3339 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 3.19.5
debian:debian_linux7.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0linux-2.62.6.32-48squeeze12DLA-246-1
Debian7linux3.2.68-1+deb7u1DSA-3237-1
Debian8linux3.16.7-ckt9-3~deb8u1DSA-3237-1
Debian12, 13, 14linux3.16.7-ckt9-3DEBIAN-CVE-2015-3339
Ubuntu14.04:LTSlinux3.13.0-52.85UBUNTU-CVE-2015-3339 USN-2598-1
Ubuntu14.04:LTSlinux-lts-utopic3.16.0-37.49~14.04.1UBUNTU-CVE-2015-3339 USN-2599-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 13 more0:2.6.32-573.el6RHSA-2015:1272
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 19 more0:2.6.32-573.el6RHSA-2015:1272
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-327.el7RHSA-2015:2152
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-327.el7RHSA-2015:2152
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-debug and 8 more0:3.10.0-327.rt56.204.el7RHSA-2015:2411
SUSELinux Enterprise Desktop 12, Linux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12kernel-xen, kernel-syms, kernel-source and 1 more3.12.43-52.6.1SUSE-SU-2015:1071-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12_Update_13-2.1SUSE-SU-2015:1489-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12_Update_23-2.1SUSE-SU-2015:1488-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12_Update_32-7.1SUSE-SU-2015:1487-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12_Update_42-10.1SUSE-SU-2015:1491-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12_Update_51-2.3SUSE-SU-2015:1071-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.43-52.6.1SUSE-SU-2015:1071-1
SUSELinux Enterprise Server 11 SP2-LTSSkernel-ec2, kernel-pae, kernel-xen and 4 more3.0.101-0.7.40.1SUSE-SU-2016:2074-1
SUSELinux Enterprise Software Development Kit 12kernel-docs, kernel-obs-build3.12.43-52.6.2SUSE-SU-2015:1071-1
SUSELinux Enterprise Workstation Extension 12kernel-default3.12.43-52.6.1SUSE-SU-2015:1071-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 7 and MRG-2. This issue is not currently planned to be addressed in future Red Hat Enterprise Linux 5 kernel updates. Future Linux kernel updates for other releases may address this issue.

For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernel-0:2.6.32-573.el6Fixed 2015-07-20RHSA-2015:1272
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-327.rt56.204.el7Fixed 2015-11-19RHSA-2015:2411
Red Hat Enterprise Linux 7kernel-0:3.10.0-327.el7Fixed 2015-11-19RHSA-2015:2152
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise MRG 2realtime-kernelAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-3339.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON