CVE-2014-4043
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path...
CVE-2014-4043 is a high vulnerability (CVSS 7.5) in Gnu Glibc, published June 13, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.92%, the 90th percentile. Fixed in glibc 2.19-2.
- Severity
- 7.5 HighCVSS 2.0, NVD
- Exploit chance
- 3.92%EPSS, 90th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.19-2glibc +9 more
Description
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
glibcDebian:12 | before 2.19-2 | 2.19-2 |
glibcDebian:13 | before 2.19-2 | 2.19-2 |
glibcDebian:14 | before 2.19-2 | 2.19-2 |
eglibcDebian:6.0 From an advisory covering 18 CVEs | before 2.11.3-4+deb6u5, plus listed versions 2.11.2-102.11.2-10+m68k.12.11.2-112.11.2-11+m68k.12.11.2-12 Show 5 moreShow less2.11.2-132.11.3-12.11.3-22.11.3-32.11.3-4 | 2.11.3-4+deb6u5 |
eglibcDebian:7 From an advisory covering 6 CVEs | before 2.13-38+deb7u8, plus listed versions 2.13-382.13-38+deb7u12.13-38+deb7u22.13-38+deb7u32.13-38+deb7u42.13-38+deb7u52.13-38+deb7u62.13-38+deb7u7 | 2.13-38+deb7u8 |
glibcMageia:3 From an advisory covering 2 CVEs | before 2.17-7.3.mga3 | 2.17-7.3.mga3 |
glibcMageia:4 From an advisory covering 2 CVEs | before 2.18-9.2.mga4 | 2.18-9.2.mga4 |
eglibcUbuntu:14.04:LTS | before 2.19-0ubuntu6.1, plus listed versions 2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5 Show 7 moreShow less2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu6 | 2.19-0ubuntu6.1 |
eglibcUbuntu:14.04:LTS From an advisory covering 3 CVEs | before 2.19-0ubuntu6.1, plus listed versions 2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5 Show 7 moreShow less2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu6 | 2.19-0ubuntu6.1 |
glibcopenSUSE:Tumbleweed From an advisory covering 31 CVEs | before 2.24-2.3 | 2.24-2.3 |
What each source reports
NVD Score used 7.5
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
CVE-2014-4043- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE ListNo score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
CVE-2014-4043- Updated
- 2026-11-02
EUVDEUVD-2014-3974No score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
EUVD-2014-3974- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7fjc-2773-f7m5No score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path...
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
GHSA-7fjc-2773-f7m5- Weakness
- CWE-94
- Updated
- 2026-11-02
OSVBELL-CVE-2014-4043 7.5
CVE-2014-4043 does not affect BellSoft software
- Record
BELL-CVE-2014-4043- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSVNo score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
CVE-2014-4043- Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2014-4043No score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
DEBIAN-CVE-2014-4043- Updated
- 2026-11-02
OSVMGASA-2014-0314No score
Updated glibc packages fix security issues
Stephane Chazelas discovered that directory traversal issue in locale handling in glibc. glibc accepts relative paths with ".." components in the LC_* and LANG variables. Together with typical OpenSSH configurations (with suitable AcceptEnv settings in sshd_config), this could conceivably be used to bypass ForceCommand restrictions (or restricted shells), assuming the attacker has sufficient level of access to a file system location on the host to create crafted locale definitions there. (CVE-2014-0475)
David Reid, Glyph Lefkowitz, and Alex Gaynor discovered a bug where posix_spawn_file_actions_addopen fails to copy the path argument (glibc bz #17048) which can, in conjunction with many common memory management techniques from an application, lead to a use after free, or other vulnerabilities. (CVE-2014-4043)
This update also fixes the following issues: x86: Disable x87 inline functions for SSE2 math (glibc bz #16510) malloc: Fix race in free() of fastbin chunk (glibc bz #15073)
- Record
MGASA-2014-0314- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10154-1No score
glibc-2.24-2.3 on GA media
These are all security issues fixed in the glibc-2.24-2.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10154-1- Updated
- 2026-11-02
OSVSUSE-RU-2015:0794-1No score
Security update for glibc
This glibc update fixes a critical privilege escalation problem and two non-security issues:
* bnc#892073: An off-by-one error leading to a heap-based buffer
overflow was found in __gconv_translit_find(). An exploit that
targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
argument as multi-byte string.
Security Issues:
* CVE-2014-5119
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
- Record
SUSE-RU-2015:0794-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0253-1No score
Security update for glibc
This glibc update fixes a critical privilege escalation problem and two non-security issues:
* bnc#892073: An off-by-one error leading to a heap-based buffer
overflow was found in __gconv_translit_find(). An exploit that
targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
argument as multi-byte string.
Security Issues:
* CVE-2014-5119
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
- Record
SUSE-SU-2015:0253-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0439-1No score
Security update for glibc
This glibc update fixes a critical privilege escalation problem and two non-security issues:
* bnc#892073: An off-by-one error leading to a heap-based buffer
overflow was found in __gconv_translit_find(). An exploit that
targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
argument as multi-byte string.
Security Issues:
* CVE-2014-5119
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
- Record
SUSE-SU-2015:0439-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2014-4043No score
The posix_spawn_file_actions_addopen function in glibc before 2.20 does not copy its path argument in accordance with the POSIX specification, which allows context-dependent attackers to trigger use-after-free vulnerabilities.
- Record
UBUNTU-CVE-2014-4043- Updated
- 2026-11-02
OSVUSN-2306-1No score
eglibc vulnerabilities
Maksymilian Arciemowicz discovered that the GNU C Library incorrectly handled the getaddrinfo() function. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 10.04 LTS. (CVE-2013-4357)
It was discovered that the GNU C Library incorrectly handled the getaddrinfo() function. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 10.04 LTS and Ubuntu 12.04 LTS. (CVE-2013-4458)
Stephane Chazelas discovered that the GNU C Library incorrectly handled locale environment variables. An attacker could use this issue to possibly bypass certain restrictions such as the ForceCommand restrictions in OpenSSH. (CVE-2014-0475)
David Reid, Glyph Lefkowitz, and Alex Gaynor discovered that the GNU C Library incorrectly handled posix_spawn_file_actions_addopen() path arguments. An attacker could use this issue to cause a denial of service. (CVE-2014-4043)
- Record
USN-2306-1- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=blobdiff%3Bf=ChangeLog%3Bh=3020b9ac232315df362521aeaf85f21cb9926db8%3Bhp=d86e73963dd9fb5e21b1a28326630337226812aa%3Bhb=89e435f3559c53084498e9baad22172b64429362%3Bhpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
securityfocus.com/bid/68006
sourceware.org/bugzilla/show_bug.cgi?id=17048
exchange.xforce.ibmcloud.com/vulnerabilities/93784
bugzilla.redhat.com/show_bug.cgi?id=1109263
sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=89e435f3559c53084498e9baad22172b64429362
Show 107 moreShow less
security.gentoo.org/glsa/201503-04
mandriva.com/security/advisories?name=MDVSA-2014:152
lists.opensuse.org/opensuse-security-announce/2015-08/msg00012.html
sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=blobdiff%3Bf=posix/spawn_faction_addopen.c%3Bh=40800b8e6e81341501c0fb8a91009529e2048dec%3Bhp=47f62425b696a4fdd511b2a057746322eb6518db%3Bhb=89e435f3559c53084498e9baad22172b64429362%3Bhpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
seclists.org/fulldisclosure/2019/Jun/18
seclists.org/bugtraq/2019/Jun/14
packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
seclists.org/fulldisclosure/2019/Sep/7
seclists.org/bugtraq/2019/Sep/7
packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html
nvd.nist.gov/vuln/detail/CVE-2014-4043
sourceware.org/git/gitweb.cgi?p=glibc.git;a=blobdiff;f=ChangeLog;h=3020b9ac232315df362521aeaf85f21cb9926db8;hp=d86e73963dd9fb5e21b1a28326630337226812aa;hb=89e435f3559c53084498e9baad22172b64429362;hpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
sourceware.org/git/gitweb.cgi?p=glibc.git;a=blobdiff;f=posix/spawn_faction_addopen.c;h=40800b8e6e81341501c0fb8a91009529e2048dec;hp=47f62425b696a4fdd511b2a057746322eb6518db;hb=89e435f3559c53084498e9baad22172b64429362;hpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
sourceware.org/git/gitweb.cgi?p=glibc.git;h=89e435f3559c53084498e9baad22172b64429362
github.com/advisories/GHSA-7fjc-2773-f7m5
docs.bell-sw.com/security/cves/CVE-2014-4043
security-tracker.debian.org/tracker/CVE-2014-4043
advisories.mageia.org/MGASA-2014-0314.html
bugs.mageia.org/show_bug.cgi?id=13800
sourceware.org/bugzilla/show_bug.cgi?id=16510
sourceware.org/bugzilla/show_bug.cgi?id=15073
suse.com/support/update/announcement//suse-ru-20150794-1
bugzilla.suse.com/691365
bugzilla.suse.com/779320
bugzilla.suse.com/791928
bugzilla.suse.com/801246
bugzilla.suse.com/811979
bugzilla.suse.com/813121
bugzilla.suse.com/819347
bugzilla.suse.com/822210
bugzilla.suse.com/827811
bugzilla.suse.com/828235
bugzilla.suse.com/828637
bugzilla.suse.com/830268
bugzilla.suse.com/834594
bugzilla.suse.com/836746
bugzilla.suse.com/839870
bugzilla.suse.com/844309
bugzilla.suse.com/847227
bugzilla.suse.com/854445
bugzilla.suse.com/863499
bugzilla.suse.com/864081
bugzilla.suse.com/872832
bugzilla.suse.com/882028
bugzilla.suse.com/882600
bugzilla.suse.com/883217
bugzilla.suse.com/886416
bugzilla.suse.com/887022
bugzilla.suse.com/888347
bugzilla.suse.com/891843
bugzilla.suse.com/892065
bugzilla.suse.com/892073
bugzilla.suse.com/894553
bugzilla.suse.com/894556
bugzilla.suse.com/903288
bugzilla.suse.com/904461
bugzilla.suse.com/906371
bugzilla.suse.com/909053
bugzilla.suse.com/913646
bugzilla.suse.com/915526
bugzilla.suse.com/916222
bugzilla.suse.com/917072
bugzilla.suse.com/919678
suse.com/security/cve/CVE-2012-4412
suse.com/security/cve/CVE-2012-6656
suse.com/security/cve/CVE-2013-0242
suse.com/security/cve/CVE-2013-1914
suse.com/security/cve/CVE-2013-4237
suse.com/security/cve/CVE-2013-4332
suse.com/security/cve/CVE-2013-4357
suse.com/security/cve/CVE-2013-4458
suse.com/security/cve/CVE-2013-4788
suse.com/security/cve/CVE-2013-7423
suse.com/security/cve/CVE-2014-0475
suse.com/security/cve/CVE-2014-4043
suse.com/security/cve/CVE-2014-5119
suse.com/security/cve/CVE-2014-6040
suse.com/security/cve/CVE-2014-7817
suse.com/security/cve/CVE-2014-9402
suse.com/security/cve/CVE-2015-0235
suse.com/security/cve/CVE-2015-1472
suse.com/support/update/announcement/2015/suse-su-20150253-1
suse.com/support/update/announcement/2015/suse-su-20150439-1
ubuntu.com/security/CVE-2014-4043
openwall.com/lists/oss-security/2014/06/13/2
ubuntu.com/security/notices/USN-2306-1
cve.org/CVERecord?id=CVE-2014-4043
ubuntu.com/security/CVE-2013-4357
ubuntu.com/security/CVE-2013-4458
ubuntu.com/security/CVE-2014-0475
suse.com/security/cve/CVE-2009-5029
suse.com/security/cve/CVE-2012-3406
suse.com/security/cve/CVE-2013-2207
suse.com/security/cve/CVE-2014-8121
suse.com/security/cve/CVE-2014-9761
suse.com/security/cve/CVE-2015-1473
suse.com/security/cve/CVE-2015-1781
suse.com/security/cve/CVE-2015-7547
suse.com/security/cve/CVE-2015-8776
suse.com/security/cve/CVE-2015-8777
suse.com/security/cve/CVE-2015-8778
suse.com/security/cve/CVE-2015-8779
suse.com/security/cve/CVE-2016-1234
suse.com/security/cve/CVE-2016-3075
suse.com/security/cve/CVE-2016-3706
suse.com/security/cve/CVE-2016-4429
suse.com/security/cve/CVE-2016-5417