Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-28041

openssh: double-free memory corruption may lead to arbitrary code execution

Overview

Published
5 Mar 2021
Modified
14 Oct 2026
High CVE
1 Registry packages
10 OS packages
8 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.1 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-415

Affected packages · 1

Packages affected by CVE-2021-28041
EcosystemPackageVulnerableFixed in
Julia OpenSSH_jll >=8.9.0+0, <9.1.0+0 9.1.0+0

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

Photon OS 1 release · 1 package

fixed 1
openssh
Photon OS fixes for CVE-2021-28041
ReleasePackageFixed in
4.0 openssh +3 8.5p1-1.ph4

SUSE Linux Enterprise Micro 1 release · 1 package

fixed 1
openssh
SUSE Linux Enterprise Micro fixes for CVE-2021-28041
ReleasePackageFixed inAdvisory
5.1 openssh +4 8.4p1-3.9.1 SUSE-SU-2021:4153-1

alpine 4 releases · 1 package

fixed 4
openssh
alpine fixes for CVE-2021-28041
ReleasePackageFixed in
3.22 openssh 8.5_p1-r0
3.23 openssh 8.5_p1-r0
3.24 openssh 8.5_p1-r0
edge openssh 8.5_p1-r0

debian 4 releases · 1 package

fixed 4
openssh
debian fixes for CVE-2021-28041
ReleasePackageFixed in
11 openssh 1:8.4p1-5
12 openssh 1:8.4p1-5
13 openssh 1:8.4p1-5
14 openssh 1:8.4p1-5

echo 1 release · 1 package

fixed 1
openssh
echo fixes for CVE-2021-28041
ReleasePackageFixed in
openssh 1:8.4p1-5

openSUSE 1 release · 1 package

fixed 1
openssh
openSUSE fixes for CVE-2021-28041
ReleasePackageFixed inAdvisory
Tumbleweed openssh +7 9.6p1-3.1 openSUSE-SU-2024:13842-1

root.io debian 3 releases · 1 package

fixed 3
rootio-openssh
root.io debian fixes for CVE-2021-28041
ReleasePackageFixed in
11 rootio-openssh 1:8.4p1-5
12 rootio-openssh 1:8.4p1-5
13 rootio-openssh 1:8.4p1-5

ubuntu 2 releases · 1 package

fixed 2
openssh
ubuntu fixes for CVE-2021-28041
ReleasePackageFixed in
20.04 openssh 1:8.2p1-4ubuntu0.2
20.04-ESM openssh 1:8.2p1-4ubuntu0.2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.