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

Published May 26, 2025
·
Updated

A stack buffer overflow was found in ICU version 76.0.1. While running the genrb binary the 'subtag' struct is overflowed in SRBRoot::addTag function. This may lead to memory corruption and arbitrary code execution.

Other sources

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.

— MITRE

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

— Microsoft

Affected Software

18 affected componentsFixes available
ICU ICU
Microsoft azl3 nodejs 20.14.0-9
Microsoft cbl2 nodejs18 18.20.3-9
Microsoft cbl2 icu 68.2.0.9-2
Microsoft cbl2 icu 68.2.0.9-1
Microsoft azl3 icu 72.1.0.3-2
Unicode International Components for Unicode<77.1
ubuntu/icu*
ubuntu/icu*
ubuntu/icu*
ubuntu/icu*
ubuntu/icu*
ubuntu/icu*
ubuntu/icu*
debian/icu<72.1-3+deb12u1
72.1-3+deb12u1
debian/icu<76.1-4
76.1-4
debian/icu<76.1-4
76.1-4
debian/icu
67.1-7+deb11u172.1-3+deb12u176.1-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/icu to a version that resolves this vulnerability.

    Fixed in 72.1-3+deb12u1
  2. Upgrade

    Upgrade debian/icu to a version that resolves this vulnerability.

    Fixed in 76.1-4
  3. Upgrade

    Upgrade debian/icu to a version that resolves this vulnerability.

    Fixed in 67.1-7+deb11u1Fixed in 72.1-3+deb12u1Fixed in 76.1-4

Event History

May 26, 2025
Data Sourced
via Red Hat·02:41 PM
DescriptionSeverityAffected Software
May 27, 2025
CVE Published
via MITRE·08:51 PM
Data Sourced
via MITRE·08:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Jun 16, 2025
Event
via FIRST·12:00 AM
Jun 25, 2025
Exploit Published
via GitHub·06:01 PM
Aug 8, 2025
Data Sourced
via NVD·02:55 PM
Affected Software
Aug 14, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Jan 23, 2026
Updated
via NVD·11:33 AM
Affected Software
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 9, 2026
Data Sourced
via OSV·12:49 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-5222?

CVE-2025-5222 is considered a critical vulnerability due to its potential for memory corruption and arbitrary code execution.

2

How do I fix CVE-2025-5222?

To mitigate CVE-2025-5222, update the ICU library to the latest version that addresses this vulnerability.

3

What are the potential impacts of CVE-2025-5222?

CVE-2025-5222 can lead to memory corruption which may allow an attacker to execute arbitrary code on the affected system.

4

Which software is affected by CVE-2025-5222?

CVE-2025-5222 affects ICU version 76.0.1, particularly when using the genrb binary.

5

Is CVE-2025-5222 exploitable remotely?

Yes, CVE-2025-5222 can be exploited remotely if the vulnerable software is exposed in an environment that allows for the execution of crafted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203