4.6

CVE-2026-66485: Uncontrolled Memory Allocation in GNU cpio

Deferred
AliasesUBUNTU-CVE-2026-66485DEBIAN-CVE-2026-66485RHSA-2026:82414
Published 10-08-2026Last modified 10-08-2026

Vulnerability summary

CVE-2026-66485 is a medium (CVSS 4.6) vulnerability in gnu cpio. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.6/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.13%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 10-08-2026
    PublishedVulnerability first disclosed.
  2. 10-08-2026
    Last modifiedVulnerability information updated.

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. This issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9

CVSS metrics

5 scores · 5 sources · 2 versions

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.18% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • cpioAll versions (No fix recorded) | < 2.15+dfsg-3
Gnu1 product
Redhat1 product
  • cpio< 0:2.15-10.3.hum1
Ubuntu1 product
  • cpio< 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

4 vendors · 4 products

References

13 links
Show all 13 references