cvedb.io
CVE-2021-38185
HIGH · CVSS 7.8
EPSS exploitation probability: 0%
Published 2021-08-08T00:15:07.027 · Last modified 2026-06-17T04:01:42.950

Summary

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 products

gnu — cpio

Does this affect you?

Add your gear to cvedb and we'll alert you only when gnu ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.