High severity7.5NVD Advisory· Published Aug 31, 2021· Updated Jun 17, 2026
CVE-2021-39176
CVE-2021-39176
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
detect-character-encodingnpm | < 0.3.1 | 0.3.1 |
Affected products
3- Range: < 0.3.1
- cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*Range: <0.3.1
Patches
Vulnerability mechanics
References
6- github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588nvdPatchThird Party AdvisoryWEB
- github.com/sonicdoe/detect-character-encoding/pull/6nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chjnvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-5rwj-j5m3-3chjghsaADVISORY
- github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-39176ghsaADVISORY
News mentions
0No linked articles in our index yet.