cve.bz

CVE-2026-57053 gnu libidn

2.5 lowExploit referenceEPSS 0.1%

Low (2.5) in gnu libidn. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
GNU libidn before 1.44 is prone to out-of-bounds reads of uninitialized memory in the ToUnicode APIs because of mishandling in idna_to_unicode_internal. The affected code is not present in libidn2.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57053 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57053?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57053?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57053 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-57053

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-57053](https://cve.bz/cve/badge/CVE-2026-57053.svg)](https://cve.bz/cve/CVE-2026-57053)

HTML:

<a href="https://cve.bz/cve/CVE-2026-57053"><img src="https://cve.bz/cve/badge/CVE-2026-57053.svg" alt="CVE-2026-57053"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GNU libidnbefore 1.44

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libidnno fix listedDEBIAN-CVE-2026-57053
Debian14libidn1.44-1DEBIAN-CVE-2026-57053
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 2 morelibidnno fix listedUBUNTU-CVE-2026-57053
Ubuntu22.04:LTSlibidn1.38-4ubuntu1.1UBUNTU-CVE-2026-57053 USN-8521-1
Ubuntu24.04:LTSlibidn1.42-1ubuntu0.1UBUNTU-CVE-2026-57053 USN-8521-1
Ubuntu26.04:LTSlibidn1.43-2ubuntu0.26.04.1UBUNTU-CVE-2026-57053 USN-8521-1
Red Hathummingbird:1idn2, libidn2, libidn2-devel0:2.3.8-4.hum1RHSA-2026:42125
SUSELinux Enterprise Module for Basesystem 15 SP7libidn1.34-150000.3.5.1SUSE-SU-2026:4000-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libidn1.43-160000.3.1SUSE-SU-2026:23621-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libidn1.28-5.9.1SUSE-SU-2026:4081-1
openSUSELeap 16.0libidn1.43-160000.3.1openSUSE-SU-2026:21758-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw resides in GNU libidn's idna_to_unicode_internal() function, used by the idna_to_unicode_* API family. The function assumes its internal ToASCII comparison buffer always begins with the "xn--" ACE prefix. When a decoded label is pure ASCII and shorter than four characters, no prefix is added, and the round-trip verification instead reads past the buffer's null terminator into uninitialized stack memory. Under certain call sequences that leave matching residual data on the stack, this allows an ACE-encoded label that should fail validation to be silently accepted and normalized to a different, shorter string, which could affect domain-based security decisions (allow/deny-list matching, hostname comparisons, routing, logging) made by applications relying on the result.

This flaw does not affect libidn2. Its round-trip verification in lookup.c never assumes the "xn--" prefix is present on caller-supplied data; every prefix-relative offset is either guarded by an explicit prefix check beforehand or applied to a buffer the function itself just wrote the prefix into, and it compares the full label rather than a bare suffix.

Red Hat's mitigation

No configuration-level mitigation is available; triggering the incorrect result depends on uninitialized stack content from earlier processing, so behavior is non-deterministic and cannot be reliably suppressed via input filtering. Users should update to a fixed libidn package once available. Applications that must process untrusted internationalized domain names before a fix is available should treat output of idna_to_unicode_8z8z()/idna_to_unicode_8zlz() as unverified, perform an independent comparison against the original ACE-encoded input, or use libidn2 for IDNA processing, which is not affected.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibidn2-main-2.3.8-4.hum1Fixed 2026-07-20RHSA-2026:42125
Migration Toolkit for ContainerslibidnFix deferred
Red Hat Enterprise Linux 10libidn2Not affected
Red Hat Enterprise Linux 6libidnOut of support scope
Red Hat Enterprise Linux 7libidnFix deferred
Red Hat Enterprise Linux 8libidnFix deferred
Red Hat Enterprise Linux 8libidn2Not affected
Red Hat Enterprise Linux 9libidn2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57053.

References

Check your stackJSON