CVE-2018-16982 json
Open Chinese Convert subject to Denial of Service via Out-of-bounds Read
published 2018-09-13 8 y ago modified 2026-06-17 4 mo ago also GHSA-9qh2-6fxg-9m4g , EUVD-2018-0150
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm opencc 1.1.2
- opencc SLE Module for Desktop Applications 15 SP6, SLE Module for Desktop Applications 15 SP5, openSUSE Leap 15.5 1.0.5-150000.5.3.1
- opencc SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.0.3-5.3.1
suse advisories SUSE-SU-2024:2102-1SUSE-SU-2022:4288-1
- github.com/BYVoid/OpenCC#560 commit
- github.com/BYVoid/OpenCC@4a4f9e5 commit
- github.com/BYVoid/OpenCC#309 pull request
- github.com/BYVoid/OpenCC#560 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16982 updated cvss 4.7
opencc: out-of-bounds keyOffset and valueOffset values in BinaryDict::NewFromFile in BinaryDict.cpp
-
Red Hat Enterprise Linux 7 opencc, opencc-tools Red Hat Enterprise Linux 8 openccnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/BYVoid/OpenCC/issues/303 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | opencc | <1.1.2 |
1.1.2 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/BYVoid/OpenCC/pull/309
web
-
github.com
/BYVoid/OpenCC/pull/560
web
-
github.com
/BYVoid/OpenCC/pull/560/commits/e1b8c7949738100e4747dd4109ef1f16e1bd99c4
web
-
github.com
/BYVoid/OpenCC/commit/4a4f9e58e505fca93605f22363c133df66a91a5e
web
-
github.com
/BYVoid/OpenCC/issues/303
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-16982
advisory
-
github.com
/BYVoid/OpenCC
package
-
github.com
/pypa/advisory-database/tree/main/vulns/opencc-py/PYSEC-2018-153.yaml
web
Sources
- CVE List CVE-2018-16982
- GitHub Advisory GHSA-9qh2-6fxg-9m4g
- NVD CVE-2018-16982
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.