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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5222.json"
[
{
"digest": {
"line_hashes": [
"295309340300957685074609112300146940891",
"269428952573887231121339385406655395190",
"190437084686170097544538184536125984890",
"132830090117250644852007522560018821043",
"112107708379846581411362349218816624036",
"260794071025088050772994361148691988165",
"160056934528296243121673659860885287692",
"199959194778351910290111171664332697668",
"21353937669025376178533552682433403790",
"167070727992870648319088480499172857939"
],
"threshold": 0.9
},
"target": {
"file": "icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ULocaleTest.java"
},
"id": "CVE-2025-5222-766869b3",
"deprecated": false,
"source": "https://github.com/unicode-org/icu/commit/457157a92aa053e632cc7fcfd0e12f8a943b2d11",
"signature_version": "v1",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "148691341547682037182391118470639084436",
"length": 1432.0
},
"target": {
"file": "tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/LikelySubtagsBuilder.java",
"function": "makeTable"
},
"id": "CVE-2025-5222-9e6bb5ba",
"deprecated": false,
"source": "https://github.com/unicode-org/icu/commit/457157a92aa053e632cc7fcfd0e12f8a943b2d11",
"signature_version": "v1",
"signature_type": "Function"
},
{
"digest": {
"function_hash": "271089080750162150157587461146173822207",
"length": 1213.0
},
"target": {
"file": "icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/util/ULocaleTest.java",
"function": "likelySubtagsDataDriven"
},
"id": "CVE-2025-5222-b2a66e6c",
"deprecated": false,
"source": "https://github.com/unicode-org/icu/commit/457157a92aa053e632cc7fcfd0e12f8a943b2d11",
"signature_version": "v1",
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"145407242532596960075001884462414527957",
"6534213920094264024438550808963261444",
"162621325529188262072181660939151906139",
"45440760445035304046139458375865290848",
"244328417444030477861086662771865464854",
"122656055037654942970210796009288544218",
"250990121404058258699060639881303912114"
],
"threshold": 0.9
},
"target": {
"file": "icu4c/source/test/intltest/loctest.cpp"
},
"id": "CVE-2025-5222-b413e474",
"deprecated": false,
"source": "https://github.com/unicode-org/icu/commit/457157a92aa053e632cc7fcfd0e12f8a943b2d11",
"signature_version": "v1",
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"231557820963995623085211029920202569377",
"150755075343856115356668913111124766129",
"330690527451913616862358615079352288882",
"116663865726823617015987705167129230456"
],
"threshold": 0.9
},
"target": {
"file": "tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/LikelySubtagsBuilder.java"
},
"id": "CVE-2025-5222-c7b08b4c",
"deprecated": false,
"source": "https://github.com/unicode-org/icu/commit/457157a92aa053e632cc7fcfd0e12f8a943b2d11",
"signature_version": "v1",
"signature_type": "Line"
}
]