Original description
ssh-agent in OpenSSH before 8.5 has a double free that may be relevant in a few less-common scenarios, such as unconstrained agent-socket access on a legacy operating system, or the forwarding of an agent to an attacker-controlled host.
Affected software
- OpenSSH ≥ 8.2 < 8.5 Fixed in: 8.5 exact match
Details
- Published
- 2021-03-05
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- CWE
- CWE-415
- EPSS (30-day exploit probability)
- 3.51% (percentile 89)
References
- cve.org/CVE-2021-28041
- nvd.nist.gov/vuln/detail/CVE-2021-28041
- github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T...
- security.gentoo.org/glsa/202105-35
- security.netapp.com/advisory/ntap-20210416-0002/
- www.openssh.com/security.html
- www.openssh.com/txt/release-8.5
- www.openwall.com/lists/oss-security/2021/03/03/1
- www.oracle.com//security-alerts/cpujul2021.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.