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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.19-2 | — |
| Debian 13 | glibc | 2.19-2 | — |
| Debian 12 | glibc | 2.19-2 | — |
| Debian 7 | eglibc | 2.13-38+deb7u8 | DSA-3169-1 |
| Debian 6.0 | eglibc | 2.11.3-4+deb6u5 | DLA-165-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | eglibc | 2.19-0ubuntu6.1 | USN-2306-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.24-2.3 | openSUSE-SU-2024:10154-1 |
Advisories 5
- USN-2306-1 eglibc vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3169-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-165-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10154-1 glibc-2.24-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2019-013 WAGO: Multiple Vulnerabilities in industrial managed switches CERT@VDE · Jun 12, 2019
References
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=blobdiff%3Bf=ChangeLog%3Bh=3020b9ac232315df362521aeaf85f21cb9926db8%3Bhp=d86e73963dd9fb5e21b1a28326630337226812aa%3Bhb=89e435f3559c53084498e9baad22172b64429362%3Bhpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
- 68006 vdb-entry
- https://sourceware.org/bugzilla/show_bug.cgi?id=17048
- gnuclibrary-cve20144043-code-exec(93784) vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1109263
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=89e435f3559c53084498e9baad22172b64429362
- GLSA-201503-04 vendor-advisory
- MDVSA-2014:152 vendor-advisory
- openSUSE-SU-2015:1387 vendor-advisory
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=blobdiff%3Bf=posix/spawn_faction_addopen.c%3Bh=40800b8e6e81341501c0fb8a91009529e2048dec%3Bhp=47f62425b696a4fdd511b2a057746322eb6518db%3Bhb=89e435f3559c53084498e9baad22172b64429362%3Bhpb=c3a2ebe1f7541cc35937621e08c28ff88afd0845
- 20190612 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series mailing-list
- 20190613 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series mailing-list
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X mailing-list
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X mailing-list
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html