Live threats

All CVEs / Freebsd

CVE-2020-7458Freebsd

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Jul 9, 2020
Updated
Jun 17, 2026
Category
Operating system · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Freebsd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
freebsdfreebsd11.4
freebsdfreebsd11.4
freebsdfreebsd12.1

Official sources

References

Links published by the sources. Open them with care.