Read the docs
TI-2021-16518 Aliases CVE-2021-39131GHSA-27wq-qx3q-fxm9

Improper Handling of Unexpected Data Type in ced

Priority LOW 37CWE-241Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

ced detects character encoding using Google’s compact_enc_det library. In ced v0.1.0, passing data types other than `Buffer` causes the Node.js process to crash. The problem has been patched in ced v1.0.0. As a workaround, before passing an argument to ced, verify it’s a `Buffer` using `Buffer.isBuffer(obj)`.

Why it matters now

EPSS 0.01891 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed ced (sonicdoe): 1.0.0ced (npm): 1.0.0

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
sonicdoecedbefore 1.0.01.0.0Patch availableCNA
—ced (npm)before 1.0.01.0.0Patch availableGHSA-27wq-qx3q-fxm9
  • ced Vendorsonicdoe Affected before 1.0.0 Fixed in 1.0.0 Patch available CNA
  • ced (npm) Vendor— Affected before 1.0.0 Fixed in 1.0.0 Patch available GHSA-27wq-qx3q-fxm9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*0.1.0VulnerableCed Project
  • cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:* Versions 0.1.0 Vulnerable ·Ced Project

Remediation

  • Fix · CNA ced (sonicdoe) Fixed in 1.0.0
  • Fix · GHSA-27wq-qx3q-fxm9 ced (npm) Fixed in 1.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-39131
  2. 2026-10-03 Alias added: GHSA-27wq-qx3q-fxm9

References

Sources