opencc: out-of-bounds keyOffset and valueOffset values in BinaryDict::NewFromFile in BinaryDict.cpp
Published Sep 13, 2018
5.5
MEDIUMCVSS 3.0
EPSS 1.10%
Description
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.
Affected products
No data.
- 1.0.5
No data.
Red Hat Enterprise Linux 7
opencc
Not affected
Red Hat Enterprise Linux 8
opencc
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | opencc | Not affected | n/a |
| Red Hat Enterprise Linux 8 | opencc | Not affected | n/a |
opencc
npm
Introduced 0 Fixed 1.1.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | opencc | 0 | 1.1.2 |
Remediation
Red Hat statement
This issue did not affect the versions of opencc as shipped with Red Hat Enterprise Linux 7.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.10% (0.01098) | 64.40th | v5 (v2026.06.15) |
| Aug 23, 2026 | 1.80% (0.01801) | 76.50th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.05% (0.00051) | 20.41th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.05% (0.00051) | 18.51th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.05% (0.00049) | 15.50th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.04% (0.00044) | 10.26th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00065) | 26.69th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.52% (0.00518) | 11.68th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.52% (0.00518) | 0.00th | v1 |
References (11)
- https://access.redhat.com/security/cve/CVE-2018-16982 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1629955 Issue Tracking
- https://github.com/BYVoid/OpenCC/commit/4a4f9e58e505fca93605f22363c133df66a91a5e
- https://github.com/BYVoid/OpenCC/issues/303 x_refsource_MISCExploitVendor Advisory
- https://github.com/BYVoid/OpenCC/pull/309
- https://github.com/BYVoid/OpenCC/pull/560
- https://github.com/BYVoid/OpenCC/pull/560/commits/e1b8c7949738100e4747dd4109ef1f16e1bd99c4
- https://github.com/advisories/GHSA-9qh2-6fxg-9m4g Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/opencc-py/PYSEC-2018-153.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2018-16982
- https://www.cve.org/CVERecord?id=CVE-2018-16982
Change history (0)
No recorded changes yet.