{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38185","published":"2021-08-08T00:15:07.027000Z","last_modified":"2026-06-17T04:01:42.950000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"cpio","version_end_including":"2.13"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/cpio"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.04165,"percentile":0.91664,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-38185/","html_en":"/en/cve/CVE-2021-38185/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38185","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38185"},"untrusted":{"vendor_name":"Gnu","product_name":"Cpio","desc_en":"GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.","affected":[],"references":[{"url":"https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/fangqyi/cpiopwn","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html","tags":[]},{"url":"https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html","tags":["Exploit","Mailing List","Vendor Advisory"]},{"url":"https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html","tags":["Exploit","Mailing List","Vendor Advisory"]}]},"bulletins":[{"source":"siemens","id":"SSA-202008","url":"https://cert-portal.siemens.com/productcert/html/ssa-202008.html","published":"2025-12-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0"}}]}