{"id":"USN-8704-1","summary":"cpio vulnerabilities","details":"It was discovered that cpio incorrectly sanitized hard-link targets when\nextracting tar archives in copy-in mode. If a user or automated system\nwere tricked into extracting a specially crafted tar archive, an attacker\ncould possibly use this issue to create hard links to files outside the\nextraction directory, even when using the --no-absolute-filenames option.\n(CVE-2026-66484)\n\nIt was discovered that cpio did not properly bound the stack memory\nallocated for pathnames during archive extraction. If a user or automated\nsystem were tricked into extracting a specially crafted cpio archive, an\nattacker could possibly use this issue to cause cpio to crash, resulting\nin a denial of service. (CVE-2026-66485)\n\nIt was discovered that cpio did not properly escape archive member names\nwhen listing archive contents. If a user or automated system were tricked\ninto listing a specially crafted archive, an attacker could possibly use\nthis issue to inject misleading output or malicious terminal control\nsequences. (CVE-2026-66486)","modified":"2026-09-01T15:56:17.788690850Z","published":"2026-08-31T13:12:09Z","related":["UBUNTU-CVE-2026-66484","UBUNTU-CVE-2026-66485","UBUNTU-CVE-2026-66486"],"upstream":["CVE-2026-66484","CVE-2026-66485","CVE-2026-66486","UBUNTU-CVE-2026-66484","UBUNTU-CVE-2026-66485","UBUNTU-CVE-2026-66486"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8704-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-66484"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-66485"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-66486"}],"affected":[{"package":{"name":"cpio","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11+dfsg-1ubuntu1.2+esm3"}]}],"versions":["2.11+dfsg-1ubuntu1","2.11+dfsg-1ubuntu1.1","2.11+dfsg-1ubuntu1.2","2.11+dfsg-1ubuntu1.2+esm1","2.11+dfsg-1ubuntu1.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"cpio","binary_version":"2.11+dfsg-1ubuntu1.2+esm3"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2026-66484","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-66485","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66486","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json"}},{"package":{"name":"cpio","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11+dfsg-5ubuntu1.1+esm2"}]}],"versions":["2.11+dfsg-4.1ubuntu1","2.11+dfsg-5ubuntu1","2.11+dfsg-5ubuntu1.1","2.11+dfsg-5ubuntu1.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.11+dfsg-5ubuntu1.1+esm2","binary_name":"cpio"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-66484","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66485","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66486","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json"}},{"package":{"name":"cpio","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12+dfsg-6ubuntu0.18.04.4+esm1"}]}],"versions":["2.11+dfsg-6","2.12+dfsg-6","2.12+dfsg-6ubuntu0.18.04.1","2.12+dfsg-6ubuntu0.18.04.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.12+dfsg-6ubuntu0.18.04.4+esm1","binary_name":"cpio"},{"binary_version":"2.12+dfsg-6ubuntu0.18.04.4+esm1","binary_name":"cpio-win32"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-66484","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66485","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-66486","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json"}},{"package":{"name":"cpio","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13+dfsg-2ubuntu0.4+esm1"}]}],"versions":["2.12+dfsg-9","2.12+dfsg-9ubuntu1","2.13+dfsg-1","2.13+dfsg-2","2.13+dfsg-2ubuntu0.3","2.13+dfsg-2ubuntu0.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.13+dfsg-2ubuntu0.4+esm1","binary_name":"cpio"},{"binary_version":"2.13+dfsg-2ubuntu0.4+esm1","binary_name":"cpio-win32"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json","cves_map":{"cves":[{"id":"CVE-2026-66484","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-66485","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66486","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}},{"package":{"name":"cpio","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13+dfsg-7ubuntu0.2"}]}],"versions":["2.13+dfsg-4ubuntu4","2.13+dfsg-7","2.13+dfsg-7ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.13+dfsg-7ubuntu0.2","binary_name":"cpio"},{"binary_name":"cpio-win32","binary_version":"2.13+dfsg-7ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2026-66484","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66485","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-66486","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"cpio","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.15+dfsg-1ubuntu2.1"}]}],"versions":["2.13+dfsg-7.1","2.14+dfsg-1","2.15+dfsg-1","2.15+dfsg-1ubuntu1","2.15+dfsg-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.15+dfsg-1ubuntu2.1","binary_name":"cpio"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"id":"CVE-2026-66484","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-66485"},{"severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-66486"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json"}},{"package":{"name":"cpio","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cpio?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.15+dfsg-2.1ubuntu0.1"}]}],"versions":["2.15+dfsg-2ubuntu1","2.15+dfsg-2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.15+dfsg-2.1ubuntu0.1","binary_name":"cpio"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8704-1.json","cves_map":{"cves":[{"id":"CVE-2026-66484","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-66485"},{"severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-66486"}],"ecosystem":"Ubuntu:26.04:LTS"}}}],"schema_version":"1.9.0"}