# CVE-2019-18224: idn2toascii4i in lib/lookup.c in GNU libidn2 before 2.1.1 has a heap-based buffer overflow via a long domain string.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.71%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-10-21T16:21:46.000Z
- Modified: 2026-10-14T07:16:49.913Z
- Weaknesses: CWE-787
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu libidn2: before 2.1.1

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/libidn/libidn2/compare/libidn2-2.1.0...libidn2-2.1.1> (release-notes, third-party-advisory)
- <https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c> (patch, third-party-advisory)
- <https://usn.ubuntu.com/4168-1/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDQVQ2XPV5BTZUFINT7AFJSKNNBVURNJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MINU5RKDFE6TKAFY5DRFN3WSFDS4DYVS/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00009.html> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00008.html> (vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4613> (vendor-advisory)
- <https://seclists.org/bugtraq/2020/Feb/4> (mailing-list)
- <https://security.gentoo.org/glsa/202003-63> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2019-18224](https://www.cve.org/CVERecord?id=CVE-2019-18224), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2019-18224](https://nvd.nist.gov/vuln/detail/CVE-2019-18224), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2019-18224 · Whole record: https://cve.day/CVE-2019-18224.json · Rebuilt by cve.day 2026-11-25T22:57:47.635Z
