# CVE-2021-28041: 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 a…

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.56%, higher than 90% of CVEs (2026-11-30)
- Published: 2021-03-05T19:07:34.000Z
- Modified: 2026-10-14T12:17:10.697Z
- Weaknesses: CWE-415
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openbsd openssh: from 8.2 before 8.5
- fedoraproject fedora: 33; 34
- netapp cloud_backup: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- netapp hci_compute_node_firmware: no versions given
- netapp hci_storage_node_firmware: no versions given
- oracle communications_offline_mediation_controller: 12.0.0.3.0
- oracle zfs_storage_appliance: 8.8

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P`

## References

- <https://www.openssh.com/security.html> (not-applicable, vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2021/03/03/1> (mailing-list, patch, third-party-advisory)
- <https://github.com/openssh/openssh-portable/commit/e04fd6dde16de1cdc5a4d9946397ff60d96568db> (patch, third-party-advisory)
- <https://www.openssh.com/txt/release-8.5> (release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXST2CML2MWY3PNVUXX7FFJE3ATJMNVZ/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202105-35> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQWGII3LQR4AOTPPFXGMTYE7UDEWIUKI/> (vendor-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210416-0002/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-28041](https://www.cve.org/CVERecord?id=CVE-2021-28041), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-28041](https://nvd.nist.gov/vuln/detail/CVE-2021-28041), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-28041 · Whole record: https://cve.day/CVE-2021-28041.json · Rebuilt by cve.day 2026-11-25T22:58:00.170Z
