CVEfocus › CVE database › CVE-2025-5222

CVE-2025-5222Icu: stack buffer overflow in the srbroot::addtag function

CVSS 7.0 HighEPSS 0.3% (higher than 21% of CVEs)Published 2025-05-27Updated 2026-11-24Assigner: redhat

A stack buffer overflow was found in Internationl components for unicode (ICU ). While running the genrb binary, the 'subtag' struct overflowed at the SRBRoot::addTag function. This issue may lead to memory corruption and local arbitrary code execution.

CWE-120

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
11Fix pending
10Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04icuNot affected
vulnerable_code_not_present
Ubuntu 25.10icuWill not fix
This is only a stack overflow issue in a command-line tool. Because of compiler hardening, this is likely a DoS only.
UBUNTU-CVE-2025-5222
Ubuntu 24.04icuFix pendingUBUNTU-CVE-2025-5222
Ubuntu 22.04icuFix pendingUBUNTU-CVE-2025-5222
Ubuntu 20.04icuWill not fix
This is only a stack overflow issue in a command-line tool. Because of compiler hardening, this is likely a DoS only.
UBUNTU-CVE-2025-5222
Ubuntu 18.04icuFix pendingUBUNTU-CVE-2025-5222
Ubuntu 16.04icuFix pendingUBUNTU-CVE-2025-5222
Ubuntu 14.04icuFix pendingUBUNTU-CVE-2025-5222
Debian 14icuFixed76.1-4DEBIAN-CVE-2025-5222
Debian 13icuFixed76.1-4DEBIAN-CVE-2025-5222
Debian 12icuFixed72.1-3+deb12u1DEBIAN-CVE-2025-5222
Red Hat Enterprise Linux 10icuFixed0:74.2-5.el10_0RHSA-2025:11888
Red Hat Enterprise Linux 10libicuFixed0:74.2-5.el10_0RHSA-2025:11888
Red Hat Enterprise Linux 10libicu-develFixed0:74.2-5.el10_0RHSA-2025:11888
Red Hat Enterprise Linux 9icuFixed0:67.1-10.el9_6RHSA-2025:12083
Red Hat Enterprise Linux 9libicuFixed0:67.1-10.el9_6RHSA-2025:12083
Red Hat Enterprise Linux 9libicu-develFixed0:67.1-10.el9_6RHSA-2025:12083
Red Hat Enterprise Linux 8icuFix pending
Fix deferred
Red Hat Enterprise Linux 8libicuFix pending
Fix deferred
Red Hat Enterprise Linux 8libicu-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libicu-docFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-icuFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-icuFix pending
Fix deferred
Red Hat Enterprise Linux 7icuWill not fix
Out of support scope
Red Hat Enterprise Linux 7libicuWill not fix
Out of support scope
Red Hat Enterprise Linux 7libicu-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libicu-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6icuWill not fix
Out of support scope
Red Hat Enterprise Linux 6libicuWill not fix
Out of support scope
Red Hat Enterprise Linux 6libicu-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libicu-docWill not fix
Out of support scope
AlmaLinux 10icuFixed74.2-5.el10_0ALSA-2025:11888
AlmaLinux 10libicuFixed74.2-5.el10_0ALSA-2025:11888
AlmaLinux 10libicu-develFixed74.2-5.el10_0ALSA-2025:11888
AlmaLinux 9icuFixed67.1-10.el9_6ALSA-2025:12083
AlmaLinux 9libicuFixed67.1-10.el9_6ALSA-2025:12083
AlmaLinux 9libicu-develFixed67.1-10.el9_6ALSA-2025:12083
Rocky Linux 10icuFixed0:74.2-5.el10_0RLSA-2025:11888
Rocky Linux 9icuFixed0:67.1-10.el9_6RLSA-2025:12083
Alpine Linux 3.24icuFixed76.1-r1ALPINE-CVE-2025-5222
Alpine Linux 3.23icuFixed76.1-r1ALPINE-CVE-2025-5222
Alpine Linux 3.22icuFixed76.1-r1ALPINE-CVE-2025-5222
Alpine Linux 3.21icuFixed74.2-r1ALPINE-CVE-2025-5222
Alpine Linux 3.20icuFixed74.2-r1ALPINE-CVE-2025-5222
Alpine Linux 3.19icuFixed74.1-r1ALPINE-CVE-2025-5222

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.