Skip to main content
EPSS 0.4%top 64%

CVE-2025-5222: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

0
High
VulnerabilityCVE-2025-5222cvecve-2025-5222
Published: 05/27/2025 (05/27/2025, 20:51:50 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 7.0high

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0>=9.0.0 <9.9.0>=10.0.0 <10.3.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 11:29:15 UTC

Technical Analysis

CVE-2025-5222 is a stack buffer overflow vulnerability in the ICU library's SRBRoot::addTag function, triggered during execution of the genrb binary. This classic buffer overflow can cause memory corruption and potentially allow local arbitrary code execution. The vulnerability affects ICU versions shipped with Red Hat Enterprise Linux 9 (>=9.0.0 <9.9.0) and 10 (>=10.0.0 <10.3.0). Red Hat has issued security advisories RHSA-2025:11888 and RHSA-2025:12083 providing updated packages that fix this issue. The CVSS 3.1 vector indicates local attack vector, high attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this vulnerability may lead to memory corruption and local arbitrary code execution on affected systems. The attacker must have local access and require user interaction to trigger the vulnerability. The impact includes potential full compromise of the affected system's confidentiality, integrity, and availability.

Mitigation Recommendations

Red Hat has released official security updates for affected versions of Red Hat Enterprise Linux 9 and 10 that address this vulnerability. Users should apply the updated icu packages as described in Red Hat advisories RHSA-2025:11888 and RHSA-2025:12083. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates mitigates the vulnerability. No additional mitigation steps are indicated by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-05-26T14:41:58.427Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2025:11888","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12083","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12331","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12332","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12333","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-5222","vendor":"Red Hat"}]

Threat ID: 68362775182aa0cae2250911

Added to database: 05/27/2025, 20:58:29 UTC

Last enriched: 07/15/2026, 11:29:15 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 299

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses