VULNERABILITY INTELLIGENCE

CVE-2021-38185

CVSS score7.8 HIGH
EPSS probability4.17%
CISA KEVNot currently listed
Published2021-08-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-190
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-190

Primary references