{"id":"CVE-2021-39176","aliases":["GHSA-5rwj-j5m3-3chj"],"url":"https://o3.security/vulnerability/CVE-2021-39176","summary":"Missing Release of Memory after Effective Lifetime in detect-character-encoding","details":"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.","published":"2021-08-31T18:15:08.490Z","modified":"2026-07-09T10:52:24.183360Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.01891,"percentile":0.77705,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"detect-character-encoding","fixedVersion":"0.3.1"}],"fix":{"url":"https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588","label":"sonicdoe/detect-character-encoding@d443569"},"references":[{"type":"ADVISORY","url":"https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.3.1"},{"type":"FIX","url":"https://github.com/sonicdoe/detect-character-encoding/commit/d44356927b92e3b13e178071bf6d7c671766f588"},{"type":"FIX","url":"https://github.com/sonicdoe/detect-character-encoding/pull/6"},{"type":"FIX","url":"https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-5rwj-j5m3-3chj"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T10:52:24.183360Z"}}