Heap-Based Buffer Overflow in ICU Package: CVE-2017-7867

icu Updated 02 Oct 2025

Summary

14/04/2017
N/A
Yes i
High
7.5

ALPINE-CVE-2017-7867: International Components for Unicode (ICU) for C/C++ before 2017-02-13 has an out-of-bounds write caused by a heap-based buffer overflow related to the utf8TextAccess function in common/utext.cpp and the utext_setNativeI... Affects icu versions < 58.2-r2. Fixed in 58.2-r2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The International Components for Unicode (ICU) is a mature, widely-used library that provides robust and full-featured Unicode and Globalization support for software applications. It is essential for handling text in various languages and scripts, enabling developers to create applications that can operate in multiple locales. However, a vulnerability has been identified in ICU versions prior to 2017-02-13, which exposes applications to potential security risks.

Vulnerability Detail

The vulnerability, identified as CVE-2017-7867, is a heap-based buffer overflow that occurs due to an out-of-bounds write in the utf8TextAccess function within the common/utext.cpp file. This flaw can lead to arbitrary code execution, allowing attackers to exploit the vulnerability to execute malicious code, potentially compromising the integrity and confidentiality of the affected system. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

58.2-r2

This is the first release that contains the fix.

sudo apk add --upgrade icu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider isolating the application using the ICU library from untrusted inputs or limiting its exposure to potentially harmful data until the patch can be applied.

Conclusion

The CVE-2017-7867 vulnerability in the ICU package poses a significant risk due to its potential for arbitrary code execution. It is crucial for users to update to the patched version to mitigate this risk. Utilizing tools like Vulert can aid in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for icu →

Share this vulnerability

FAQ

CVE-2017-7867 is a vulnerability in the ICU package that allows for a heap-based buffer overflow, potentially leading to arbitrary code execution.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If you cannot update the package, consider implementing workarounds such as isolating the application from untrusted inputs until a patch can be applied.

Exploitation of this vulnerability could lead to arbitrary code execution, compromising the integrity and confidentiality of the affected system.

More information about the ICU package can be found on its official website or through its documentation, which provides insights into its features and usage.

Related vulnerabilities

Recent vulnerabilities recorded for icu.

How To Fix

Minimum fixed version

58.2-r2

This is the first release that contains the fix.

sudo apk add --upgrade icu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback