CVEfocus › CVE database › CVE-2019-18224

CVE-2019-18224

EPSS 3.7% (higher than 91% of CVEs)Published 2019-10-21Updated 2026-10-14Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
2Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libidn2Not affected
vulnerable_code_not_present
Ubuntu 25.10libidn2Not affected
vulnerable_code_not_present
Ubuntu 24.04libidn2Not affected
vulnerable_code_not_present
Ubuntu 22.04libidn2Not affected
vulnerable_code_not_present
Ubuntu 20.04libidn2Not affected
vulnerable_code_not_present
Ubuntu 18.04libidn2Fixed2.0.4-1.1ubuntu0.2UBUNTU-CVE-2019-18224
Ubuntu 16.04libidn2-0Fix pendingUBUNTU-CVE-2019-18224
Ubuntu 14.04libidn2-0Fix pendingUBUNTU-CVE-2019-18224
Debian 14libidn2Fixed2.2.0-1DEBIAN-CVE-2019-18224
Debian 13libidn2Fixed2.2.0-1DEBIAN-CVE-2019-18224
Debian 12libidn2Fixed2.2.0-1DEBIAN-CVE-2019-18224
Red Hat Enterprise Linux 8idn2Fixed0:2.2.0-1.el8RHBA-2019:3621
Red Hat Enterprise Linux 8libidn2Fixed0:2.2.0-1.el8RHBA-2019:3621
Red Hat Enterprise Linux 8libidn2-develFixed0:2.2.0-1.el8RHBA-2019:3621
AlmaLinux 8idn2Fixed2.2.0-1.el8ALBA-2019:3621
AlmaLinux 8libidn2Fixed2.2.0-1.el8ALBA-2019:3621
AlmaLinux 8libidn2-develFixed2.2.0-1.el8ALBA-2019:3621
Alpine Linux 3.24libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.23libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.22libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.21libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.20libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.19libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.18libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.17libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.16libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.15libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.14libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.13libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224
Alpine Linux 3.12libidn2Fixed2.1.1-r0ALPINE-CVE-2019-18224

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.