Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
GNU cpio
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU cpio是美国GNU基金会开源的一款文件归档与提取工具。 GNU cpio 2.15及之前版本存在资源管理错误漏洞,该漏洞源于src/makepath.c文件的make_path函数中不受控制的内存分配,使用alloca基于argpath长度分配栈内存,恶意cpio存档中包含超长嵌套路径名可导致未绑定的栈分配,造成栈溢出和崩溃,从而导致拒绝服务。

CVSS 4.6 · Medium EPSS 0.18% · P7

Affected Version Matrix 1

VendorProduct Version RangeStatus
GNU cpio ≤ 2.15 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66485

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Uncontrolled Memory Allocation in GNU cpio
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的内存分配
Source: CVE Program / CVE List V5
Vulnerability Title
GNU cpio 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU cpio是美国GNU基金会开源的一款文件归档与提取工具。 GNU cpio 2.15及之前版本存在资源管理错误漏洞,该漏洞源于src/makepath.c文件的make_path函数中不受控制的内存分配,使用alloca基于argpath长度分配栈内存,恶意cpio存档中包含超长嵌套路径名可导致未绑定的栈分配,造成栈溢出和崩溃,从而导致拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GNU cpio 0 ~ 2.15 -

II. Public POCs for CVE-2026-66485

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-66485

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-66485 (1)

Security Blog Posts for CVE-2026-66485 (1)

Same Patch Batch · GNU · 2026-08-10 · 7 CVEs total

CVE-2026-71392 5.3 MEDIUM Integer Overflow in GNU Emacs for Android
CVE-2026-71393 5.3 MEDIUM Heap Buffer Overflow in GNU Emacs for Android
CVE-2026-71391 5.3 MEDIUM Off-by-One Error in GNU Emacs for Android
CVE-2026-71394 5.3 MEDIUM Heap Use of Uninitialized Memory in GNU Emacs for Android
CVE-2026-66484 4.6 MEDIUM Path Traversal in GNU cpio
CVE-2026-66486 4.6 MEDIUM Improper Output Encoding in GNU cpio

IV. Related Vulnerabilities

V. Comments for CVE-2026-66485

No comments yet


Leave a comment