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 en…

CVE-2020-7458 affects 16 listed versions of FreeBSD in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
2%EPSS (next 30 days)
9 July 2020published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

FreeBSD

16 of 250 listed versions are affected. No fixed release is named. The newest release, 15.1-p7, is not affected.

12.1-STABLE 12.1-p13 12.1-p12 12.1-p11 12.1-p10 12.1-p9 12.1-p8 12.1-p7 12.1-p6 12.1-p5 12.1-p4 12.1-p3 12.1-p2 12.1-p1 12.1 11.4

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Freebsd on 9 July 2020. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2020-7458 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.