
CVE catalog
CVE-2021-39257
ntfs-3g affected and fixed versions
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie-security | ntfs-3g | 1:2022.10.3-5+deb13u3 | Fixed | [CVE-2021-39257] |
| Debiantrixie | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debiantrixie | ntfs-3g | 1:2022.10.3-5+deb13u2 | Fixed | [CVE-2021-39257] |
| Debiansid | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debiansid | ntfs-3g | 1:2026.9.28-2 | Fixed | [CVE-2021-39257] |
| Debianforky | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debianforky | ntfs-3g | 1:2026.9.28-2 | Fixed | [CVE-2021-39257] |
| Debianbookworm-security | ntfs-3g | 1:2022.10.3-1+deb12u3 | Fixed | [CVE-2021-39257] |
| Debianbookworm | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debianbookworm | ntfs-3g | 1:2022.10.3-1+deb12u3 | Fixed | [CVE-2021-39257] |
Showing 10 fix observations. All 26 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | ntfs-3g | 1:2021.8.22-2 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debianbookworm | ntfs-3g | 1:2022.10.3-1+deb12u3 | Fixed | [CVE-2021-39257] |
| Debianbookworm-security | ntfs-3g | 1:2022.10.3-1+deb12u3 | Fixed | [CVE-2021-39257] |
| Debianforky | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debianforky | ntfs-3g | 1:2026.9.28-2 | Fixed | [CVE-2021-39257] |
| Debiansid | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debiansid | ntfs-3g | 1:2026.9.28-2 | Fixed | [CVE-2021-39257] |
| Debiantrixie | ntfs-3g | 1:2021.8.22-2 | FixedDistribution-reported fixed boundary | [CVE-2021-39257] |
| Debiantrixie | ntfs-3g | 1:2022.10.3-5+deb13u2 | Fixed | [CVE-2021-39257] |
| Debiantrixie-security | ntfs-3g | 1:2022.10.3-5+deb13u3 | Fixed | [CVE-2021-39257] |
| Ubuntu18.04 | ntfs-3g | 1:2016.2.22AR.2-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu18.04 | ntfs-3g | 1:2017.3.23-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu18.04 | ntfs-3g | 1:2017.3.23-2ubuntu0.18.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu18.04 | ntfs-3g | 1:2017.3.23-2ubuntu0.18.04.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu18.04 | ntfs-3g | 1:2017.3.23-2ubuntu0.18.04.3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu20.04 | ntfs-3g | 1:2017.3.23AR.3-3ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu20.04 | ntfs-3g | 1:2017.3.23AR.3-3ubuntu1.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntu22.04 | ntfs-3g | 1:2017.3.23AR.3-3ubuntu5 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2014.2.15AR.3-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1ubuntu0.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1ubuntu0.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1ubuntu0.3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
| Ubuntupro | ntfs-3g | 1:2015.3.14AR.1-1ubuntu0.3+esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-39257] |
Original provider fields
{
"package_releases": [
{
"name": "ntfs-3g",
"status": "fixed",
"release": "sid",
"version": "1:2026.9.28-2"
},
{
"name": "ntfs-3g",
"status": "fixed",
"release": "forky",
"version": "1:2026.9.28-2"
},
{
"name": "ntfs-3g",
"status": "fixed",
"release": "trixie",
"version": "1:2022.10.3-5+deb13u2"
},
{
"name": "ntfs-3g",
"status": "fixed",
"release": "trixie-security",
"version": "1:2022.10.3-5+deb13u3"
},
{
"name": "ntfs-3g",
"status": "fixed",
"release": "bookworm",
"version": "1:2022.10.3-1+deb12u3"
},
{
"name": "ntfs-3g",
"status": "fixed",
"release": "bookworm-security",
"version": "1:2022.10.3-1+deb12u3"
}
],
"fixed_versions": [
{
"bug": 988386,
"name": "ntfs-3g",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1:2021.8.22-2"
},
{
"bug": 988386,
"name": "ntfs-3g",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1:2021.8.22-2"
},
{
"bug": 988386,
"name": "ntfs-3g",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1:2021.8.22-2"
},
{
"bug": 988386,
"name": "ntfs-3g",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1:2021.8.22-2"
}
],
"distribution_packages": [
{
"name": "ntfs-3g",
"fixed_version": "1:2021.8.22-2",
"applicability_unknown": true
},
{
"name": "ntfs-3g",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2015.3.14AR.1-1ubuntu0.3+esm1"
}
]
}
],
"release": "pro",
"versions": [
"1:2014.2.15AR.3-3",
"1:2015.3.14AR.1-1",
"1:2015.3.14AR.1-1build1",
"1:2015.3.14AR.1-1ubuntu0.1",
"1:2015.3.14AR.1-1ubuntu0.2",
"1:2015.3.14AR.1-1ubuntu0.3"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39257",
"fixed_version": "1:2015.3.14AR.1-1ubuntu0.3+esm1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-39257",
"provider_updated_at": "2026-04-22T12:59:21.149178Z",
"applicability_unknown": true
},
{
"name": "ntfs-3g",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2017.3.23-2ubuntu0.18.04.3"
}
]
}
],
"release": "18.04",
"versions": [
"1:2016.2.22AR.2-2",
"1:2017.3.23-2",
"1:2017.3.23-2ubuntu0.18.04.1",
"1:2017.3.23-2ubuntu0.18.04.2"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39257",
"fixed_version": "1:2017.3.23-2ubuntu0.18.04.3",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-39257",
"provider_updated_at": "2026-04-22T12:59:21.149178Z",
"applicability_unknown": true
},
{
"name": "ntfs-3g",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2017.3.23AR.3-3ubuntu1.1"
}
]
}
],
"release": "20.04",
"versions": [
"1:2017.3.23AR.3-3ubuntu1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39257",
"fixed_version": "1:2017.3.23AR.3-3ubuntu1.1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-39257",
"provider_updated_at": "2026-04-22T12:59:21.149178Z",
"applicability_unknown": true
},
{
"name": "ntfs-3g",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2017.3.23AR.3-3ubuntu5"
}
]
}
],
"release": "22.04",
"versions": [],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39257",
"fixed_version": "1:2017.3.23AR.3-3ubuntu5",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-39257",
"provider_updated_at": "2026-04-22T12:59:21.149178Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libntfs-3g89]Unknown
Source package: [ntfs-3g]
Details (4)
1:2022.10.3-1+deb12u3· amd64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
- [ntfs-3g]Unknown
Details (4)
1:2022.10.3-1+deb12u3· amd64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
- [ntfs-3g-dev]Unknown
Source package: [ntfs-3g]
Details (4)
1:2022.10.3-1+deb12u3· amd64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookwormFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
1:2022.10.3-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · bookworm; dsa · ntfs-3g · debian · 12
[Debian 13 (Trixie)]
- [libntfs-3g89t64]Unknown
Source package: [ntfs-3g]
Details (5)
1:2022.10.3-5+deb13u1· amd64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u1· arm64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· arm64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
- [ntfs-3g]Unknown
Details (5)
1:2022.10.3-5+deb13u1· amd64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u1· arm64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· arm64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
- [ntfs-3g-dev]Unknown
Source package: [ntfs-3g]
Details (5)
1:2022.10.3-5+deb13u1· amd64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u1· arm64 · trixieFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u2· arm64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
1:2022.10.3-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
1:2021.8.22-2dsa · ntfs-3g · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_2965-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-39257]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-39257]
- [https://security-tracker.debian.org/tracker/CVE-2021-39257]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-39257.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1728.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]