CVE-2021-39176
published high CVSS 3.1 · 7.5Missing Release of Memory after Effective Lifetime in detect-character-encoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sonicdoe | — | detect-character-encoding< 0.3.1 | Affected | Not stated | GitHub_M |
Description
detect-character-encoding is a package for detecting character encoding using ICU. In detect-character-encoding v0.3.0 and earlier, allocated memory is not released. The problem has been patched in detect-character-encoding v0.3.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sonicdoe | detect-character-encoding | < 0.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-401 CWE-401: Missing Release of Memory after Effective Lifetime
References
4- https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588
- https://github.com/sonicdoe/detect-character-encoding/pull/6
- https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1
- https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj
Provider assertions
2GitHub_M · cna
Missing Release of Memory after Effective Lifetime in detect-character-encoding
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7887aaabff1205f43a0af3e9a9081bb3bc67db55ad6fae96bb5dcc516e4ae4e0
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record