Buffer overflow in FreeBSD

CVE-2020-7458

In FreeBSD 12.1-STABLE before r362281, 11.4-STABLE before r362281, and 11.4-RELEASE before p1, long values in the user-controlled PATH environment variable cause posix_spawnp to write beyond the end of the heap allocated stack possibly leading to arbitrary code execution.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.019 (79.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2020-7458: held from 0.019 to 0.019.

EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000

Affected products

  • FreeBSD — versions 11.4, 12.1
  • FreeBSD — versions FreeBSD 11.4-RELEASE before p1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-7458?
CVE-2020-7458 is a critical-severity vulnerability in FreeBSD, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2020-07-09.
How severe is CVE-2020-7458?
Critical severity. CVSS v3 base score is 9.8 out of 10.