Read the docs
TI-2021-16562 Aliases CVE-2021-39176GHSA-5rwj-j5m3-3chj

Missing Release of Memory after Effective Lifetime in detect-character-encoding

Priority LOW 37CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-401.

Summary

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.

Why it matters now

EPSS 0.01891 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed detect-character-encoding (sonicdoe): 0.3.1detect-character-encoding (npm): 0.3.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
sonicdoedetect-character-encodingbefore 0.3.10.3.1Patch availableCNA
—detect-character-encoding (npm)before 0.3.10.3.1Patch availableGHSA-5rwj-j5m3-3chj
  • detect-character-encoding Vendorsonicdoe Affected before 0.3.1 Fixed in 0.3.1 Patch available CNA
  • detect-character-encoding (npm) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-5rwj-j5m3-3chj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*before 0.3.1VulnerableDetect-character-encoding Project

Remediation

  • Fix · CNA detect-character-encoding (sonicdoe) Fixed in 0.3.1
  • Fix · GHSA-5rwj-j5m3-3chj detect-character-encoding (npm) Fixed in 0.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-39176
  2. 2026-10-03 Alias added: GHSA-5rwj-j5m3-3chj

References

  • TI-2021-16543 Improper Handling of Exceptional Conditions in detect-character-encoding CVSS 3.1HIGH 7.5

Sources