CVE-2026-66485

Source
https://cve.org/CVERecord?id=CVE-2026-66485
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66485.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-66485
Downstream
AZL (1)
DEBIAN (1)
MGASA (1)
OESA (1)
openSUSE (2)
RHSA (1)
SUSE (6)
UBUNTU (1)
Related
Published
2026-08-10T10:25:34Z
Modified
2026-10-25T02:30:58Z
Severity
  • 4.6 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Uncontrolled Memory Allocation in GNU cpio
Details

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

Database specific
{
    "cna_assigner":  "CERT-PL",
    "cwe_ids":  [
        "CWE-789"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66485.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "2.15"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "2.15"
                        }
                    ],
                    "source":  "CPE_FIELD",
                    "strategy":  "CPEApplicability"
                }
            ]
        }
    ]
}
References

Affected packages

Git / git.savannah.gnu.org/cgit/cpio.git

Affected ranges

Type
GIT
Repo
https://git.savannah.gnu.org/cgit/cpio.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3cd514031371d8aeeaf2048aa10103e02831aaa9"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "3cd514031371d8aeeaf2048aa10103e02831aaa9"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66485.json"