Vulnerability · Published May 27, 2025 · Assigned by redhat
CVE-2025-5222Icu: stack buffer overflow in the srbroot::addtag function
High 7.0
In plain English
A high-severity buffer overflow in icu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.4%top 61.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | icu | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux:9 | icu | 67.1-10.el9_6 | ALSA-2025:12083 |
| AlmaLinux:10 | libicu | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux:9 | libicu | 67.1-10.el9_6 | ALSA-2025:12083 |
| AlmaLinux:10 | libicu-devel | 74.2-5.el10_0 | ALSA-2025:11888 |
| AlmaLinux:9 | libicu-devel | 67.1-10.el9_6 | ALSA-2025:12083 |
| Alpine:v3.20 | icu | 74.2-r1 | ALPINE-CVE-2025-5222 |
| Alpine:v3.21 | icu | 74.2-r1 | ALPINE-CVE-2025-5222 |
| Alpine:v3.22 | icu | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Alpine:v3.23 | icu | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Alpine:v3.24 | icu | 76.1-r1 | ALPINE-CVE-2025-5222 |
| Debian:12 | icu | 72.1-3+deb12u1 | DSA-5951-1 |
| Debian:12 | icu | 72.1-3+deb12u1 | DEBIAN-CVE-2025-5222 |
| Debian:13 | icu | 76.1-4 | DEBIAN-CVE-2025-5222 |
| Debian:14 | icu | 76.1-4 | DEBIAN-CVE-2025-5222 |
| Rocky Linux:10 | icu | 0:74.2-5.el10_0 | RLSA-2025:11888 |
| Rocky Linux:9 | icu | 0:67.1-10.el9_6 | RLSA-2025:12083 |
| Ubuntu:22.04:LTS | icu | no fix listed | UBUNTU-CVE-2025-5222 |
| Ubuntu:24.04:LTS | icu | no fix listed | UBUNTU-CVE-2025-5222 |
| Ubuntu:25.10 | icu | no fix listed | UBUNTU-CVE-2025-5222 |
| Ubuntu:26.04:LTS | icu | no fix listed | UBUNTU-CVE-2025-5222 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2025:11888 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12083 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12331 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12332 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12333 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:54544 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:54553 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:54581 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:56786 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:56853 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:56911 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:60019 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:65839 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-5222 vdb-entry, x_refsource_REDHAT
- RHBZ#2368600 issue-tracking, x_refsource_REDHAT
- https://unicode-org.atlassian.net/jira/software/c/projects/ICU/issues/ICU-22957
- https://lists.debian.org/debian-lts-announce/2025/06/msg00015.html
- https://cert-portal.siemens.com/productcert/html/ssa-585531.html