CVE-2025-5222Icu: stack buffer overflow in the srbroot::addtag function
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | icu | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | icu | Will 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.04 | icu | Fix pending | UBUNTU-CVE-2025-5222 | |
| Ubuntu 22.04 | icu | Fix pending | UBUNTU-CVE-2025-5222 | |
| Ubuntu 20.04 | icu | Will 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.04 | icu | Fix pending | UBUNTU-CVE-2025-5222 | |
| Ubuntu 16.04 | icu | Fix pending | UBUNTU-CVE-2025-5222 | |
| Ubuntu 14.04 | icu | Fix pending | UBUNTU-CVE-2025-5222 | |
| Debian 14 | icu | Fixed | 76.1-4 | DEBIAN-CVE-2025-5222 |
| Debian 13 | icu | Fixed | 76.1-4 | DEBIAN-CVE-2025-5222 |
| Debian 12 | icu | Fixed | 72.1-3+deb12u1 | DEBIAN-CVE-2025-5222 |
| Red Hat Enterprise Linux 10 | icu | Fixed | 0:74.2-5.el10_0 | RHSA-2025:11888 |
| Red Hat Enterprise Linux 10 | libicu | Fixed | 0:74.2-5.el10_0 | RHSA-2025:11888 |
| Red Hat Enterprise Linux 10 | libicu-devel | Fixed | 0:74.2-5.el10_0 | RHSA-2025:11888 |
| Red Hat Enterprise Linux 9 | icu | Fixed | 0:67.1-10.el9_6 | RHSA-2025:12083 |
| Red Hat Enterprise Linux 9 | libicu | Fixed | 0:67.1-10.el9_6 | RHSA-2025:12083 |
| Red Hat Enterprise Linux 9 | libicu-devel | Fixed | 0:67.1-10.el9_6 | RHSA-2025:12083 |
| Red Hat Enterprise Linux 8 | icu | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libicu | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libicu-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libicu-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-icu | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-icu | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | icu | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libicu | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libicu-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libicu-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | icu | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libicu | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libicu-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libicu-doc | Will not fix Out of support scope | ||
| AlmaLinux 10 | icu | Fixed | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux 10 | libicu | Fixed | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux 10 | libicu-devel | Fixed | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux 9 | icu | Fixed | 67.1-10.el9_6 | ALSA-2025:12083 |
| AlmaLinux 9 | libicu | Fixed | 67.1-10.el9_6 | ALSA-2025:12083 |
| AlmaLinux 9 | libicu-devel | Fixed | 67.1-10.el9_6 | ALSA-2025:12083 |
| Rocky Linux 10 | icu | Fixed | 0:74.2-5.el10_0 | RLSA-2025:11888 |
| Rocky Linux 9 | icu | Fixed | 0:67.1-10.el9_6 | RLSA-2025:12083 |
| Alpine Linux 3.24 | icu | Fixed | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Alpine Linux 3.23 | icu | Fixed | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Alpine Linux 3.22 | icu | Fixed | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Alpine Linux 3.21 | icu | Fixed | 74.2-r1 | ALPINE-CVE-2025-5222 |
| Alpine Linux 3.20 | icu | Fixed | 74.2-r1 | ALPINE-CVE-2025-5222 |
| Alpine Linux 3.19 | icu | Fixed | 74.1-r1 | ALPINE-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.
- icu: affected: before 78.1; fixed in
78.1 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.15
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
- Red Hat OpenShift Container Platform 4.18
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:
- https://access.redhat.com/errata/RHSA-2025:11888 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:12083 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:12331 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:12332 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:12333 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:54544 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:11888
- https://access.redhat.com/errata/RHSA-2025:12083
- https://access.redhat.com/errata/RHSA-2025:12331
- https://access.redhat.com/errata/RHSA-2025:12332
- https://access.redhat.com/errata/RHSA-2025:12333
- https://access.redhat.com/errata/RHSA-2026:54544
- https://access.redhat.com/errata/RHSA-2026:54553
- https://access.redhat.com/errata/RHSA-2026:54581
- https://access.redhat.com/errata/RHSA-2026:56786
- https://access.redhat.com/errata/RHSA-2026:56853
- https://access.redhat.com/errata/RHSA-2026:56911
- https://access.redhat.com/errata/RHSA-2026:60019
- https://access.redhat.com/errata/RHSA-2026:65839
- https://access.redhat.com/security/cve/CVE-2025-5222
- https://bugzilla.redhat.com/show_bug.cgi?id=2368600
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.