Vulnerability library
Security checkNovember 22, 2024

Open Chinese Convert subject to Denial of Service via Out-of-bounds Read

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmopencc

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the opencc package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.1.2
  • Patched version(s): 1.1.2

References

Could your website be exposed too?

SmartScanner can check your website for Open Chinese Convert subject to Denial of Service via Out-of-bounds Read and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 22, 2024