Remote code executionin FreeBSD.
No public exploit found; not on exploited lists.
A signal handler in sshd(8) may call a logging function that is not async-signal-safe. The signal handler is invoked when a client does not authenticate within the LoginGraceTime seconds (120 by default). This signal handler executes in the context of the sshd(8)'s privileged code, which is not sandboxed and runs with full root privileges. This issue is another instance of the problem in CVE-2024-6387 addressed by FreeBSD-SA-24:04.openssh. The faulty code in this case is from the integration of blacklistd in OpenSSH in FreeBSD. As a result of calling functions that are not async-signal-safe in the privileged sshd(8) context, a race condition exists that a determined attacker may be able to exploit to allow an unauthenticated remote code execution as root.
- Upgrade freebsd to 13.3_release_p5, 14.0_release_p9, 14.1_release_p3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Aug 2024CVE ID reserved by freebsd.
- 11 Aug 2024Published in the CVE List.
- 16 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other FreeBSD vulnerabilities
Same weakness:
- security.freebsd.org vendor-advisory
- www.cve.org related
- www.cve.org related
- security.netapp.com
Patchminder. CVE-2024-7589: Remote code execution in FreeBSD. https://patchminder.com/cve/cve-2024-7589/ (accessed 5 December 2026).