CVE-2018-16982
MEDIUM 5.5CVSS 3.0Open Chinese Convert subject to Denial of Service via Out-of-bounds Read
Open Chinese Convert (OpenCC) 1.0.5 allows attackers to cause a denial of service (segmentation fault) because BinaryDict::NewFromFile in BinaryDict.cpp may have out-of-bounds keyOffset and valueOffset values via a crafted .ocd file.
- Published
- 13 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-9qh2-6fxg-9m4g
- Sources
- NVDJSONOSV GHSA-9qh2-6fxg-9m4gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | byvoid | open_chinese_convertcpe:2.3:a:byvoid:open_chinese_convert:1.0.5:*:*:*:*:*:*:* |
= 1.0.5 | |
| OSV | npm | opencc | < 1.1.2 | 1.1.2 |
References
- https://github.com/BYVoid/OpenCC/issues/303 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-16982 · ADVISORY
- https://github.com/BYVoid/OpenCC/pull/309 · WEB
- https://github.com/BYVoid/OpenCC/pull/560 · WEB
- https://github.com/BYVoid/OpenCC/pull/560/commits/e1b8c7949738100e4747dd4109ef1f16e1bd99c4 · WEB
- https://github.com/BYVoid/OpenCC/commit/4a4f9e58e505fca93605f22363c133df66a91a5e · WEB
- https://github.com/BYVoid/OpenCC · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/opencc-py/PYSEC-2018-153.yaml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Sep 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 May 2022)