{"id":"CVE-2020-7458","aliases":["EUVD-2020-28584","GHSA-pvv4-m6qj-jw53"],"status":"published","title":"In FreeBSD 12.1-STABLE before r362281, 11.4-STABLE before r362281, and 11.4-RELEASE before p1,...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01904,"percentile":0.79865,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2020-07-09T13:47:03Z","modified":"2026-06-17T03:24:49Z","products":[{"vendor":"freebsd","product":"freebsd"}],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7458"},{"url":"https://github.com/advisories/GHSA-pvv4-m6qj-jw53"}],"sources":{"cve":[{"id":"CVE-2020-7458","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.","status":"published","published":"2020-07-09T13:47:03Z","modified":"2024-08-04T09:25:48.986Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2020-28584","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.","status":"published","published":"2020-07-09T13:47:03Z","modified":"2024-08-04T09:25:48Z","updated_at":"2026-11-03T03:08:00.054795Z"}],"ghsa":[{"id":"GHSA-pvv4-m6qj-jw53","title":"In FreeBSD 12.1-STABLE before r362281, 11.4-STABLE before r362281, and 11.4-RELEASE before p1,...","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.","status":"published","published":"2022-05-24T17:22:43Z","modified":"2023-01-29T05:03:08Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:45:15.109911Z"}],"nvd":[{"id":"CVE-2020-7458","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.","status":"published","published":"2020-07-09T14:15:10.98Z","modified":"2026-06-17T03:24:49.227Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:09.126752Z"}]}}
