{"schemaVersion":3,"id":"CVE-2019-18224","aliases":["ALPINE-CVE-2019-18224","RHBA-2019:3621","UBUNTU-CVE-2019-18224","DEBIAN-CVE-2019-18224","DSA-4613-1","CGA-2grv-wfpq-6gp5","CGA-77mr-4qhq-42p2"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2019-10-21T16:21:46.000Z","modified":"2026-10-14T06:54:50.718Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Red hat","score":5.6,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":5.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03708,"percentile":0.89633,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03708},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03708,"percentile":0.89633}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03708,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03708,"percentile":0.89633}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_CD557F2C0C4EEF43","name":"Exploit Reference (bugs.chromium.org)","source":"reference","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libidn2","purlType":"apk","versions":[{"text":"< 2.1.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libidn2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libidn2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libidn2","purlType":"deb","versions":[{"text":"< 2.0.5-1+deb10u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.2.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.5-1+deb10u1 | < 2.2.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libidn2","purlType":"deb","versions":[{"text":"< 2.0.4-1.1ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.4-1.1ubuntu0.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libidn2-0","name":"libidn2-0","label":"libidn2-0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libidn2-0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnu","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.1","eol":null,"hubHref":"/vendor/gnu/libidn2"},{"vendor":"redhat","product":"idn2","name":"idn2","label":"idn2","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/idn2","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"idn2-debuginfo","name":"idn2-debuginfo","label":"idn2-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/idn2-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"libidn2","name":"libidn2","label":"libidn2","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libidn2","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"libidn2-debuginfo","name":"libidn2-debuginfo","label":"libidn2-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libidn2-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"libidn2-debugsource","name":"libidn2-debugsource","label":"libidn2-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libidn2-debugsource","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"libidn2-devel","name":"libidn2-devel","label":"libidn2-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libidn2-devel","purlType":"rpm","versions":[{"text":"< 0:2.2.0-1.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.2.0-1.el8","eol":null,"hubHref":null}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libidn/libidn2/compare/libidn2-2.1.0...libidn2-2.1.1","label":"github.com/libidn/libidn2/compare/libidn2-2.1.0...libidn2-2.1.1","hostname":"github.com","tags":["X Refsource MISC","REPORT","Advisory","Release Notes","Third Party Advisory"]},{"url":"https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c","label":"github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch","Third Party Advisory"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420","label":"bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420","hostname":"bugs.chromium.org","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4168-1/","label":"usn.ubuntu.com/4168-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDQVQ2XPV5BTZUFINT7AFJSKNNBVURNJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MINU5RKDFE6TKAFY5DRFN3WSFDS4DYVS/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00009.html","label":"lists.opensuse.org/opensuse-security-announce/2019-12/msg00009.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00008.html","label":"lists.opensuse.org/opensuse-security-announce/2019-12/msg00008.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"https://www.debian.org/security/2020/dsa-4613","label":"www.debian.org/security/2020/dsa-4613","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Advisory"]},{"url":"https://seclists.org/bugtraq/2020/Feb/4","label":"seclists.org/bugtraq/2020/Feb/4","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","WEB"]},{"url":"https://security.gentoo.org/glsa/202003-63","label":"security.gentoo.org/glsa/202003-63","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-18224","label":"security.alpinelinux.org/vuln/CVE-2019-18224","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHBA-2019:3621","label":"access.redhat.com/errata/RHBA-2019:3621","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.1_release_notes/","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.1_release_notes/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1674201","label":"bugzilla.redhat.com/show_bug.cgi?id=1674201","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhba-2019_3621.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2019/rhba-2019_3621.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-18224","label":"access.redhat.com/security/cve/CVE-2019-18224","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1764780","label":"bugzilla.redhat.com/show_bug.cgi?id=1764780","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18224","label":"www.cve.org/CVERecord?id=CVE-2019-18224","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18224","label":"nvd.nist.gov/vuln/detail/CVE-2019-18224","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-18224","label":"ubuntu.com/security/CVE-2019-18224","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4168-1","label":"ubuntu.com/security/notices/USN-4168-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-18224","label":"security-tracker.debian.org/tracker/CVE-2019-18224","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["MGASA-2019-0416","OPENSUSE-SU-2019:2611-1","OPENSUSE-SU-2019:2613-1","SUSE-SU-2019:3086-1","USN-4168-1"],"duplicates":[],"related":["CGA-RXPP-95R9-G2VP","CGA-WPXP-666F-225W","OPENSUSE-SU-2019:2611-1","OPENSUSE-SU-2019:2613-1","SUSE-SU-2019:3086-1","USN-4168-1"]},"timeline":[{"kind":"published","date":"2019-10-21T16:21:46.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T06:54:50.718Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:20:04.990Z","stale":false,"partial":false}}