{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-5222 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-5222 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 27 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-5222 and fix it if it is affected.\n\nWhat it is: CVE-2025-5222 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 27 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-5222 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-5222/ (Markdown: https://insights.sbomify.com/CVE-2025-5222/index.md)","id":"CVE-2025-5222","markdown":"https://insights.sbomify.com/CVE-2025-5222/index.md","name":"CVE-2025-5222","record":{"aliases":["ALPINE-CVE-2025-5222","ALSA-2025:11888","ALSA-2025:12083","AZL-66147","AZL-66156","AZL-69692","AZL-69706","BELL-CVE-2025-5222","CLEANSTART-2026-GC28946","CLSA-2025-1762539763","CLSA-2026-1774269500","CLSA-2026-1774273758","CLSA-2026-1787152014","DEBIAN-CVE-2025-5222","DLA-4217-1","DSA-5951-1","ECHO-da2b-993e-93ac","GHSA-wv79-2fc4-v4hj","MGASA-2025-0249","OESA-2025-1982","RHSA-2025:11888","RHSA-2025:12083","RHSA-2025:12331","RHSA-2025:12332","RHSA-2025:12333","RLSA-2025:11888","RLSA-2025:12083","SUSE-SU-2025:02059-1","SUSE-SU-2025:02216-1","UBUNTU-CVE-2025-5222","openSUSE-SU-2025:15230-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ICU library","requires_auth":"none","summary":"A stack buffer overflow in the ICU library's genrb binary allows local attackers to execute arbitrary code via memory corruption.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"international_components_for_unicode","vendor":"unicode"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Rocky Linux:10","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-06-25","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-06-25T18:01:59Z","kind":"github_poc","ref":"https://github.com/berkley4/icu-74-debian","stars":1,"title":"Debian build files for icu 74.2 with a patch to fix CVE-2025-5222"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Icu: stack buffer overflow in the srbroot::addtag function","id":"CVE-2025-5222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":78,"n_references":16,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-5223"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/almalinux/icu","source":"ALSA-2025:11888"},{"ecosystem":"AlmaLinux:10","fixed":["74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu","purl":"pkg:rpm/almalinux/libicu","source":"ALSA-2025:11888"},{"ecosystem":"AlmaLinux:10","fixed":["74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel","purl":"pkg:rpm/almalinux/libicu-devel","source":"ALSA-2025:11888"},{"ecosystem":"AlmaLinux:9","fixed":["67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/almalinux/icu","source":"ALSA-2025:12083"},{"ecosystem":"AlmaLinux:9","fixed":["67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu","purl":"pkg:rpm/almalinux/libicu","source":"ALSA-2025:12083"},{"ecosystem":"AlmaLinux:9","fixed":["67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-devel","purl":"pkg:rpm/almalinux/libicu-devel","source":"ALSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu","purl":"pkg:rpm/redhat/libicu","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu-debuginfo","purl":"pkg:rpm/redhat/libicu-debuginfo","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel","purl":"pkg:rpm/redhat/libicu-devel","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:74.2-5.el10_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel-debuginfo","purl":"pkg:rpm/redhat/libicu-devel-debuginfo","source":"RHSA-2025:11888"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-debuginfo","purl":"pkg:rpm/redhat/libicu-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-devel","purl":"pkg:rpm/redhat/libicu-devel","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-devel-debuginfo","purl":"pkg:rpm/redhat/libicu-devel-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu","purl":"pkg:rpm/redhat/libicu","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-debuginfo","purl":"pkg:rpm/redhat/libicu-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:67.1-10.el9_6"],"introduced":["0"],"last_affected":[],"package":"libicu-devel-debuginfo","purl":"pkg:rpm/redhat/libicu-devel-debuginfo","source":"RHSA-2025:12083"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu-debuginfo","purl":"pkg:rpm/redhat/libicu-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel","purl":"pkg:rpm/redhat/libicu-devel","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel-debuginfo","purl":"pkg:rpm/redhat/libicu-devel-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu","purl":"pkg:rpm/redhat/libicu","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu-debuginfo","purl":"pkg:rpm/redhat/libicu-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:67.1-10.el9_0"],"introduced":["0"],"last_affected":[],"package":"libicu-devel-debuginfo","purl":"pkg:rpm/redhat/libicu-devel-debuginfo","source":"RHSA-2025:12333"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:67.1-10.el9_2"],"introduced":["0"],"last_affected":[],"package":"icu","purl":"pkg:rpm/redhat/icu","source":"RHSA-2025:12331"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:67.1-10.el9_2"],"introduced":["0"],"last_affected":[],"package":"icu-debuginfo","purl":"pkg:rpm/redhat/icu-debuginfo","source":"RHSA-2025:12331"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:67.1-10.el9_2"],"introduced":["0"],"last_affected":[],"package":"icu-debugsource","purl":"pkg:rpm/redhat/icu-debugsource","source":"RHSA-2025:12331"}],"prev":{"headline":"FreeFloat FTP Server QUOTE Command buffer overflow","id":"CVE-2025-5221"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","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","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","Red Hat OpenShift Container Platform 4.19","Red Hat OpenShift Container Platform 4.20"],"published":"2025-05-27","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Red Hat"]},"summary":"A stack buffer overflow in the ICU library's genrb binary allows local attackers to execute arbitrary code via memory corruption.","url":"https://insights.sbomify.com/CVE-2025-5222/"}