CVE-2020-7458
highpriority · track · 40EPSS 0.019 · 80 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7458cnnvd
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asccnnvd
- https://security.netapp.com/advisory/ntap-20200724-0002/cnnvd
- https://vigilance.fr/vulnerability/FreeBSD-buffer-overflow-via-posix-spawnp-32765cnnvd
- https://www.freebsd.org/security/advisories/FreeBSD-SA-20:18.posix_spawnp.ascPatchcnnvd
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.ascenisa_euvd
- https://security.netapp.com/advisory/ntap-20200724-0002/enisa_euvd
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.ascPatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan