{"cve":"CVE-2021-39176","nvd":{"published":"2021-08-31T18:15:08.490","modified":"2026-06-17T04:03:15.150","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-401"],"references":["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","https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588"],"products":["detect-character-encoding_project:detect-character-encoding"],"source":"nvd","synced_at":"2026-10-19T21:21:57.125947417+00:00"},"epss":{"cve":"CVE-2021-39176","score":0.01891,"percentile":0.79572,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-5rwj-j5m3-3chj","url":"https://osv.dev/vulnerability/GHSA-5rwj-j5m3-3chj","summary":"Missing Release of Memory after Effective Lifetime in detect-character-encoding","modified":"2026-07-08T06:28:33.588838025Z","packages":[{"ecosystem":"npm","name":"detect-character-encoding","purl":"pkg:npm/detect-character-encoding","ranges":["<0.3.1"],"fixed":["0.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}