Skip to main content

GNU libidn EUVDEUVD-2026-38523

| CVE-2026-57053 LOW
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-06-23 mitre GHSA-xpv7-vm32-p7wv
2.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed Punycode/IDN hostname string
  2. Delivery
    Deliver to application linked against libidn < 1.44
  3. Exploit
    Application invokes ToUnicode API
  4. Execution
    idna_to_unicode_internal fails to validate input quantity
  5. Persist
    Out-of-bounds read of uninitialized memory
  6. Impact
    Integrity or availability disruption in calling application

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

The target environment must have an application linked against GNU libidn (not libidn2) in a version prior to 1.44 that passes attacker-influenced internationalized domain name strings to the ToUnicode API. The specific internal function idna_to_unicode_internal must be reached via the ToUnicode call path with a malformed input that triggers the out-of-bounds read - the AC:H rating indicates this is not trivially achieved with arbitrary input. Exploitation is limited by the requirement for the attacker to control or influence the hostname/domain string processed by the vulnerable API call, and by the need to craft input that specifically exercises the uninitialized memory read condition. Deployments using libidn2 exclusively are not affected, as the vulnerable code is absent from that library.

Impact

The NVD-assigned CVSS 3.1 score of 4.0 with vector AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L reflects a constrained risk profile, but several metric choices warrant scrutiny. The local attack vector (AV:L) is atypical for a string-processing library whose ToUnicode APIs are commonly invoked by network-facing applications (DNS resolvers, mail transfer agents, web browsers) that process externally-supplied hostnames - the effective attack surface may be broader than AV:L implies, depending on the consuming application architecture. The high attack complexity (AC:H) is plausible given the need to craft input that specifically triggers the uninitialized memory read path. The C:N assignment is notable: out-of-bounds reads of uninitialized memory frequently expose sensitive in-process memory contents, creating a potential confidentiality impact that appears underweighted here; this discrepancy should be verified against the vendor's analysis. No EPSS score data was provided, preventing probabilistic exploitation modeling. The vulnerability is not listed in the CISA KEV catalog and no proof-of-concept exploit code has been identified, indicating low immediate exploitation pressure. Real-world priority is moderate for environments where libidn-linked applications process untrusted internationalized hostnames from external sources.

Exploit ScenarioDerived

An attacker able to influence the internationalized domain name strings processed by an application using GNU libidn - for example, by sending a crafted DNS response, email header, or URI containing a malformed Punycode label - could cause idna_to_unicode_internal to read beyond an allocated buffer into uninitialized memory. This could result in application instability, a crash (availability impact), or exposure of in-process memory contents. No public proof-of-concept has been identified, and the AC:H rating indicates that reliably triggering the specific vulnerable code path requires precision in input construction.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 23, 2026

Out-of-bounds reads of uninitialized memory in GNU libidn before version 1.44 are triggerable through the ToUnicode IDNA APIs when malformed internationalized domain name input is processed by the vulnerable function idna_to_unicode_internal. Applications statically or dynamically linked against affected libidn versions that pass attacker-influenced hostname strings to these APIs are exposed to integrity and availability disruption. No public exploit has been identified at time of analysis, and the successor library libidn2 is explicitly confirmed unaffected, providing a viable migration path for defenders.

RemediationAI

The primary remediation is upgrading GNU libidn to version 1.44 or later, which addresses the mishandling in idna_to_unicode_internal; upgrade guidance is available through the GNU help-libidn mailing list at https://lists.gnu.org/archive/html/help-libidn/2026-06/msg00001.html. For environments where an immediate upgrade is not feasible, migrating to libidn2 is a viable alternative since the CVE explicitly confirms libidn2 is unaffected - however, note that libidn2 implements IDNA2008 semantics versus libidn's IDNA2003, so API and behavioral compatibility must be validated before switching to avoid application regressions. As an additional compensating control, applications that call the ToUnicode API should validate and sanitize internationalized domain name inputs before passing them to libidn, specifically rejecting malformed or excessively long ACE labels, which reduces the attack surface without requiring an immediate library upgrade.

Affected VersionsENISA

libidn 0 <1.44

Affected Packages

euvd libidn fix: 1.44

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GNU libidn implements the Internationalized Domain Names in Applications (IDNA) standard (RFC 3490), providing APIs to convert between ACE (ASCII-Compatible Encoding) Punycode labels and Unicode representations. The idna_to_unicode_internal function is central to the ToUnicode conversion path and is the locus of the flaw. CWE-1284 (Improper Validation of Specified Quantity in Input) identifies the root cause: the function fails to properly bound-check or initialize memory regions associated with input quantities before reading from them, resulting in reads from uninitialized memory beyond allocated buffers. The affected CPE is cpe:2.3:a:gnu:libidn:*:*:*:*:*:*:*:*, covering all libidn releases prior to 1.44. The codebase for libidn2 - the IDNA2008/IDNA2003-compat successor - was written independently and does not contain the vulnerable logic path.

Know when Libidn gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY MEDIUM
NVD 2.5 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable via any application processing untrusted domain names; uninitialized memory reads warrant C:L; no integrity impact from read-only access.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 4.0 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Primary rating from Vendor (mitre).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jun 29, 2026 - 19:52 NVD
MEDIUM LOW
CVSS changed
Jun 29, 2026 - 19:52 NVD
4.0 (MEDIUM) 2.5 (LOW)
Patch available
Jun 23, 2026 - 19:02 EUVD

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
widely used IDNA library across Linux distributions and network applications
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy