Skip to main content
No exploitation reportedFix available

CVE-2019-18224

No exploitation reported by the sources we read.

  • Published2019-10-21
  • Fixed in2.1.1
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2019-10-2117:15CVE publishedNVD

Versions per branch

NVD
Gnu libidn2
BranchAffectedFixed in
2.1< 2.1.12.1.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • idn2Red Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.2.0-1.el8and 3 other packages
  • libidn2Wolfiall versions · fixed in 0
  • libidn2Ubuntu:18.04:LTSall versions · fixed in 2.0.4-1.1ubuntu0.2
  • libidn2SUSE:Linux Enterprise Module for Basesystem 15 SP1all versions · fixed in 2.2.0-3.3.1
  • libidn2SUSE:Linux Enterprise Module for Basesystem 15all versions · fixed in 2.2.0-3.3.1
  • libidn2Red Hat:enterprise_linux:8::baseosall versions · fixed in 0:2.2.0-1.el8and 3 other packages
  • libidn2openSUSE:Leap 15.1all versions · fixed in 2.2.0-lp151.3.3.1
  • libidn2openSUSE:Leap 15.0all versions · fixed in 2.2.0-lp150.2.3.1

25 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-18224 Red Hat Product Security57 products fixed

    libidn2: heap-based buffer overflow in idn2_to_ascii_4i in lib/lookup.c

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • RHBA-2019:3621 Red Hat Product Security57 products fixed

    Red Hat Bug Fix Advisory: libidn2 bug fix and enhancement update

Full record on NVD

Fix

  1. Update Gnu libidn2 to 2.1.1
  2. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  3. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  4. Vendor fix Red Hat Product Security RHBA-2019:3621 · 57 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2019-10-21
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-j2c9-63g7-697x

Frequently asked questions

What is CVE-2019-18224?

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.

Is CVE-2019-18224 actively exploited?

Active exploitation of CVE-2019-18224 has not been confirmed. Its EPSS score was 3.7% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-18224?

CVE-2019-18224 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running libidn2? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record