🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5262

Bug#1154615: erlang-idna: CVE-2026-117678

#5262
From: Moritz Mühlenhoff
Date: Fri, 20 Nov 2026 20:40
43 lines
3300 bytes
Source: erlang-idna
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for erlang-idna.

CVE-2026-117678[0]:
| Inefficient Algorithmic Complexity vulnerability in benoitc idna
| allows an attacker who controls a hostname passed to the library to
| exhaust CPU via an over-long xn-- label. idna:ulabel/1 in
| src/idna.erl hands every ASCII label that starts with xn-- to
| punycode:decode/1 without applying check_label_length/1, the
| 63-octet DNS label limit. punycode:decode/1 in src/punycode.erl
| builds its output with list appends in insert/4, so its cost grows
| super-linearly with the label length. A label of a few kilobytes
| keeps a scheduler busy for seconds to minutes before the label is
| rejected as invalid punycode.  Every decode entry point reaches this
| path: decode/1, decode/2, to_unicode/1 and from_ascii/1. The encode
| path reaches it as well, because alabel/1 calls ulabel/1 on an ASCII
| xn-- label before its own length check, so encode/1, encode/2 and
| to_ascii/1 are affected for such input.  This issue affects idna:
| from 0.5.0 before 8.0.0.

https://cna.erlef.org/cves/CVE-2026-117678.html
https://osv.dev/vulnerability/EEF-CVE-2026-117678
https://github.com/benoitc/erlang-idna/pull/44
https://github.com/benoitc/erlang-idna/pull/45

Fixed by: https://github.com/benoitc/erlang-idna/commit/7a465b630eb793556aa7ac282fb73e49251dadd2 (8.0.0)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-117678
    https://www.cve.org/CVERecord?id=CVE-2026-117678

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <O1DyN-d8Te-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154615: erlang-idna: CVE-2026-117678
Date: Fri, 20 Nov 2026 21:40:01 +0100
Message-ID: <O1DyN-d8Te-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 20 20:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1154615@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, ejabberd@packages.debian.org
X-Debian-Pr-Message: report 1154615
X-Debian-Pr-Package: src:erlang-idna
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: erlang-idna
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003780
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 20 Nov 2026 21:29:30 +0100
X-Original-Message-ID: <awCtqq8gye3DjASR@pisco.westfalen.local>