CVE-2025-5222

Icu: stack buffer overflow in the srbroot::addtag function

State
Published
Severity
7.0 High
Published
May 27, 2025
Updated
Oct 21, 2026
Reserved
May 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected Products

ProductVersions
icu
  • before 78.1Affected
Red Hat Enterprise Linux 10Red Hat
  • 0:74.2-5.el10_0 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:67.1-10.el9_6 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:67.1-10.el9_6 and laterNot affected
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
  • 0:67.1-10.el9_0 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:67.1-10.el9_2 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:67.1-10.el9_4 and laterNot affected
Red Hat OpenShift Container Platform 4.13Red Hat
  • 413.92.202609080414-0 and laterNot affected
Red Hat OpenShift Container Platform 4.14Red Hat
  • 414.92.202608172040-0 and laterNot affected
Red Hat OpenShift Container Platform 4.15Red Hat
  • 415.92.202608180329-0 and laterNot affected
Red Hat OpenShift Container Platform 4.16Red Hat
  • 416.94.202608150307-0 and laterNot affected
Red Hat OpenShift Container Platform 4.17Red Hat
  • 417.94.202608250221-0 and laterNot affected
Red Hat OpenShift Container Platform 4.18Red Hat
  • 418.94.202608111829-0 and laterNot affected
Red Hat OpenShift Container Platform 4.19Red Hat
  • 4.19.9.6.202608120446-0 and laterNot affected
Red Hat OpenShift Container Platform 4.20Red Hat
  • 4.20.9.6.202608121719-0 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat OpenShift Container Platform 4Red Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.