CVE-2021-39131
7.5 HIGHced detects character encoding using Google’s compact_enc_det library
Published: 2021-08-17 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-241, CWE-755
Affected products
| Vendor | Product |
|---|---|
| ced_project | ced |
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)`.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-39131
- [Patch]https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3
- [Other]https://github.com/sonicdoe/ced/releases/tag/v1.0.0
- [Patch]https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9
- [Patch]https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3
- [Other]https://github.com/sonicdoe/ced/releases/tag/v1.0.0
- [Patch]https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9
Related CVEs
Same CWE
- CVE-2026-44505 — Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm (5.3 MEDIUM)
- CVE-2023-43686 — An issue was discovered in Malwarebytes 4.x and 5.x (and Nebula 2020-10-21 and later) (6.2 MEDIUM)
- CVE-2026-49235 — When Routinator encounters a file via RRDP using a specifically crafted Document Type Definition, Routinator crashes (7.5 HIGH)
- CVE-2026-49232 — Routinator exits on any error when accepting incoming HTTP or RTR connections, including ones it can recover from such as running out of ...
- CVE-2026-9516 — Cpanel::JSON::XS versions before 4.41 for Perl allow denial of service via UTF-8 BOM prefixed input when a decode filter callback throws (7.5 HIGH)