{"id":"UBUNTU-CVE-2025-5222","details":"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.","modified":"2026-05-20T16:23:33.798734741Z","published":"2025-05-27T21:15:00Z","upstream":["CVE-2025-5222"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-5222"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-5222"}],"affected":[{"package":{"name":"icu","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.1.1-12ubuntu2","4.8.1.1-13+nmu1","4.8.1.1-13+nmu1ubuntu1","52.1-3","52.1-3ubuntu0.2","52.1-3ubuntu0.3","52.1-3ubuntu0.4","52.1-3ubuntu0.5","52.1-3ubuntu0.6","52.1-3ubuntu0.7","52.1-3ubuntu0.8","52.1-3ubuntu0.8+esm1","52.1-3ubuntu0.8+esm2"],"ecosystem_specific":{"priority_reason":"DoS in a command line tool only","binaries":[{"binary_name":"icu-devtools","binary_version":"52.1-3ubuntu0.8+esm2"},{"binary_name":"libicu52","binary_version":"52.1-3ubuntu0.8+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["55.1-4ubuntu1","55.1-6ubuntu1","55.1-7","55.1-7ubuntu0.1","55.1-7ubuntu0.2","55.1-7ubuntu0.3","55.1-7ubuntu0.4","55.1-7ubuntu0.5","55.1-7ubuntu0.5+esm1"],"ecosystem_specific":{"priority_reason":"DoS in a command line tool only","binaries":[{"binary_version":"55.1-7ubuntu0.5+esm1","binary_name":"icu-devtools"},{"binary_name":"libicu55","binary_version":"55.1-7ubuntu0.5+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["57.1-6","59.1-3ubuntu1","60.1-1ubuntu2","60.2-1ubuntu1","60.2-3ubuntu1","60.2-3ubuntu3","60.2-3ubuntu3.1","60.2-3ubuntu3.2"],"ecosystem_specific":{"binaries":[{"binary_version":"60.2-3ubuntu3.2","binary_name":"icu-devtools"},{"binary_name":"libicu60","binary_version":"60.2-3ubuntu3.2"},{"binary_name":"libiculx60","binary_version":"60.2-3ubuntu3.2"}],"priority_reason":"DoS in a command line tool only"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["63.2-2","65.1-1ubuntu2","66.1-2ubuntu2","66.1-2ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"icu-devtools","binary_version":"66.1-2ubuntu2.1"},{"binary_version":"66.1-2ubuntu2.1","binary_name":"libicu66"}],"priority_reason":"DoS in a command line tool only"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["67.1-7ubuntu1","70.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"70.1-2","binary_name":"icu-devtools"},{"binary_version":"70.1-2","binary_name":"libicu70"}],"priority_reason":"DoS in a command line tool only"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["72.1-3ubuntu3","72.1-4ubuntu1","74.2-1ubuntu1","74.2-1ubuntu3","74.2-1ubuntu3.1"],"ecosystem_specific":{"priority_reason":"DoS in a command line tool only","binaries":[{"binary_name":"icu-devtools","binary_version":"74.2-1ubuntu3.1"},{"binary_version":"74.2-1ubuntu3.1","binary_name":"libicu74"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/icu?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["76.1-1ubuntu2","76.1-4ubuntu1","76.1-4ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"icu-devtools","binary_version":"76.1-4ubuntu2"},{"binary_name":"libicu76","binary_version":"76.1-4ubuntu2"}],"priority_reason":"DoS in a command line tool only"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}},{"package":{"name":"icu","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/icu?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["76.1-4ubuntu2","78.1-1ubuntu1","78.1-2ubuntu2","78.2-1ubuntu1","78.2-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"icu-devtools","binary_version":"78.2-2ubuntu1"},{"binary_version":"78.2-2ubuntu1","binary_name":"libicu78"}],"priority_reason":"DoS in a command line tool only"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5222.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}