detect-character-encoding is an open source character encoding inspection library. In…
Historical advisory recorded 24 Oct 2026 19:17:25 UTC. Read the latest advisory.
nvd · CVE-2021-39157
Publisheddetect-character-encoding is an open source character encoding inspection library. In detect-character-encoding v0.6.0 and earlier, data matching no charset causes the Node.js process to crash. The problem has been patched in [detect-character-encoding v0.7.0](https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.7.0). No workaround are available and all users should update to resolve this issue.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2021-39157
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-755
Original publisher date fields
published: 2021-08-24T19:15:32.127
lastModified: 2026-06-17T04:03:12.860
1 source CPE criteria · context only
- cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON