{"schemaVersion":3,"id":"CVE-2026-66485","aliases":["UBUNTU-CVE-2026-66485","DEBIAN-CVE-2026-66485","RHSA-2026:82414"],"status":"published","duplicateOf":null,"title":null,"description":"GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service.\n\nThis issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9","dates":{"published":"2026-08-10T10:25:34.337Z","modified":"2026-08-10T10:56:56.427Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.6,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":4.6,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.6,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","exploitability":3.3,"impact":6,"computed":true}]},"epss":{"probability":0.00185,"percentile":0.07598,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.053000000000000005,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00132},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00185,"percentile":0.07598}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00132,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00185,"percentile":0.07598}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"debian","product":"cpio","name":"cpio","label":"cpio","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cpio","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cpio","name":"cpio","label":"cpio","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cpio","purlType":"deb","versions":[{"text":"< 2.11+dfsg-1ubuntu1.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.11+dfsg-5ubuntu1.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12+dfsg-6ubuntu0.18.04.4+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.13+dfsg-2ubuntu0.4+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.13+dfsg-7ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.15+dfsg-1ubuntu2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.15+dfsg-2.1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11+dfsg-1ubuntu1.2+esm3 | < 2.11+dfsg-5ubuntu1.1+esm2 | < 2.12+dfsg-6ubuntu0.18.04.4+esm1 | < 2.13+dfsg-2ubuntu0.4+esm1 | < 2.13+dfsg-7ubuntu0.2 | < 2.15+dfsg-1ubuntu2.1 | < 2.15+dfsg-2.1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"gnu","product":"cpio","name":"cpio","label":"cpio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.15","eol":null,"hubHref":"/vendor/gnu/cpio"},{"vendor":"redhat","product":"cpio","name":"cpio","label":"cpio","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cpio","purlType":"rpm","versions":[{"text":"< 0:2.15-10.3.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.15-10.3.hum1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://cert.pl/en/posts/2026/08/CVE-2026-66484","label":"cert.pl/en/posts/2026/08/CVE-2026-66484","hostname":"cert.pl","tags":["Third Party Advisory","REPORT","ARTICLE"]},{"url":"https://git.savannah.gnu.org/cgit/cpio.git","label":"git.savannah.gnu.org/cgit/cpio.git","hostname":"git.savannah.gnu.org","tags":["Product","REPORT","ARTICLE"]},{"url":"https://ubuntu.com/security/CVE-2026-66485","label":"ubuntu.com/security/CVE-2026-66485","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-66485","label":"www.cve.org/CVERecord?id=CVE-2026-66485","hostname":"www.cve.org","tags":["REPORT","Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8704-1","label":"ubuntu.com/security/notices/USN-8704-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-66485","label":"security-tracker.debian.org/tracker/CVE-2026-66485","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66485","label":"nvd.nist.gov/vuln/detail/CVE-2026-66485","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:82414","label":"access.redhat.com/errata/RHSA-2026:82414","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-66485","label":"access.redhat.com/security/cve/CVE-2026-66485","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_82414.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_82414.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2513083","label":"bugzilla.redhat.com/show_bug.cgi?id=2513083","hostname":"bugzilla.redhat.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0435","OPENSUSE-SU-2026:11618-1","OPENSUSE-SU-2026:21747-1","SUSE-SU-2026:23355-1","SUSE-SU-2026:23441-1","SUSE-SU-2026:23464-1","SUSE-SU-2026:23612-1","SUSE-SU-2026:3959-1","SUSE-SU-2026:4012-1","USN-8704-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11618-1","OPENSUSE-SU-2026:21747-1","SUSE-SU-2026:23355-1","SUSE-SU-2026:23441-1","SUSE-SU-2026:23464-1","SUSE-SU-2026:23612-1","SUSE-SU-2026:3959-1","SUSE-SU-2026:4012-1","USN-8704-1"]},"timeline":[{"kind":"published","date":"2026-08-10T10:25:34.337Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-10T10:56:56.427Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:23:58.694Z","stale":false,"partial":false}}