Critical Stack Buffer Overflow in ICU Package: CVE-2025-5222

icu Updated 04 Oct 2025

Summary

03/10/2025
N/A
Yes i
High
7.0

RLSA-2025:11888: Moderate: icu security update. Affects icu versions < 0:74.2-5.el10_0. Fixed in 0:74.2-5.el10_0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The International Components for Unicode (ICU) library is a widely used open-source library that provides robust and full-featured Unicode services for software applications. It supports various functionalities such as text processing, date and time formatting, and locale-sensitive operations. The ICU library is integral to many applications that require internationalization and localization support. However, a recently discovered vulnerability poses a significant risk to systems utilizing this library.

Vulnerability Detail

The vulnerability identified as CVE-2025-5222 is a stack buffer overflow in the SRBRoot::addTag function of the ICU library. This flaw can be exploited by an attacker to execute arbitrary code, potentially leading to unauthorized access, data corruption, or system crashes. The severity of this vulnerability is underscored by its CVSS score of 7.0, indicating a high level of risk. The issue arises from improper handling of input data, which allows for buffer overflow conditions.

How To Fix

Minimum fixed version

0:74.2-5.el10_0

This is the first release that contains the fix.

sudo dnf update icu

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

Workaround

As a temporary workaround, users can limit the input data processed by the SRBRoot::addTag function to prevent exploitation. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

In summary, the CVE-2025-5222 vulnerability in the ICU library poses a significant risk due to a stack buffer overflow. It is crucial for users to update their ICU packages to the latest version to protect their systems from potential exploitation. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for icu →

Share this vulnerability

FAQ

CVE-2025-5222 is a vulnerability in the ICU library that allows for a stack buffer overflow, potentially enabling attackers to execute arbitrary code.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access, data corruption, or system crashes, posing significant risks to affected systems.

Yes, a patch is available. Users should update the ICU package to version 0:74.2-5.el10_0 or later to mitigate the risk.

The CVSS score of CVE-2025-5222 is 7.0, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for icu.

How To Fix

Minimum fixed version

0:74.2-5.el10_0

This is the first release that contains the fix.

sudo dnf update 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