{"id":"UBUNTU-CVE-2019-18224","details":"idn2_to_ascii_4i in lib/lookup.c in GNU libidn2 before 2.1.1 has a heap-based buffer overflow via a long domain string.","modified":"2026-04-22T13:39:05.629505Z","published":"2019-10-21T17:15:00Z","related":["USN-4168-1"],"upstream":["CVE-2019-18224"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18224"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420"},{"type":"REPORT","url":"https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c"},{"type":"REPORT","url":"https://github.com/libidn/libidn2/compare/libidn2-2.1.0...libidn2-2.1.1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4168-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18224"}],"affected":[{"package":{"name":"libidn2-0","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libidn2-0@0.9-1ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9-1","0.9-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"idn2","binary_version":"0.9-1ubuntu0.1~esm1"},{"binary_name":"libidn2-0","binary_version":"0.9-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18224.json"}},{"package":{"name":"libidn2-0","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libidn2-0@0.10-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10-3","0.10-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"idn2","binary_version":"0.10-3ubuntu0.1~esm1"},{"binary_name":"libidn2-0","binary_version":"0.10-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18224.json"}},{"package":{"name":"libidn2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libidn2@2.0.4-1.1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-1.1ubuntu0.2"}]}],"versions":["2.0.4-1","2.0.4-1.1","2.0.4-1.1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"idn2","binary_version":"2.0.4-1.1ubuntu0.2"},{"binary_name":"libidn2-0","binary_version":"2.0.4-1.1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18224.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}