← Database

CVE-2021-39131

HIGH CVSS: 7.5 Published: 2021-08-17 Modified: 2026-06-17

Description

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)`.

Affected Platforms

Ced Project Ced

Weakness Type

CWE-241, CWE-755

References