CVE-2020-7458

CRITICAL

FreeBSD Out-of-bounds Write via PATH Environment Variable

Title source: llm
STIX 2.1

Description

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.

References (2)

Core 2
Core References
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20200724-0002/

Scores

CVSS v3 9.8
EPSS 0.0157
EPSS Percentile 81.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (2)
freebsd/freebsd 11.4 (2 CPE variants)
freebsd/freebsd 12.1
Published Jul 09, 2020
Tracked Since Feb 18, 2026