> CVE-2026-39806 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-05-13 14:17
MODIFIED
2026-05-13 15:57
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
0.64%
Top 49.5%
DATA SOURCES:
NVD 🔗 2026-05-13 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 OSV 🔗 2026-11-02

> DESCRIPTION

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in mtrudel bandit allows unauthenticated remote denial of service via worker process exhaustion. 'Elixir.Bandit.HTTP1.Socket':do_read_chunked_data!/5 in lib/bandit/http1/socket.ex terminates only when the last-chunk line 0\r\n is followed immediately by the empty trailer line \r\n. RFC 9112 §7.1.2 permits zero or more trailer fields between them. When trailers are present, none of the match clauses fit: the catch-all arm computes a negative to_read, calls read_available!/2, receives <<>> on timeout, and tail-recurses with unchanged state. The worker process is pinned for the lifetime of the TCP connection. A handful of concurrent connections sending RFC-conformant chunked requests with trailer fields is sufficient to exhaust the Bandit worker pool and render the server unresponsive to all further traffic. No authentication, special headers, or large payload is required. Proxies such as NGINX and HAProxy legitimately forward trailer-bearing requests, so servers behind such proxies may be affected without any malicious client involvement. This issue affects bandit: from 1.6.1 before 1.11.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-835

> CWE DETAILED DESCRIPTIONS

CWE-835: Loop with Unreachable Exit Condition - The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

HTTP/1 chunked decoder infinite loop on requests with trailer fields in bandit

AFFECTED PACKAGES:
Unknown / Unknown
20 versions affected
ALIASES:
EEF-CVE-2026-39806, GHSA-rf5q-vwxw-gmrf

> HISTORIQUE DES MODIFICATIONS

Première apparition
13/05/2026 14:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') - The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Nouvelle valeur:
CWE-835: Loop with Unreachable Exit Condition - The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') - The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://cna.erlef.org/cves/CVE-2026-39806.html
https://github.com/mtrudel/bandit/commit/ae3520dfdbfab115c638f8c7f6f6b805db34e1a...
https://github.com/mtrudel/bandit/security/advisories/GHSA-rf5q-vwxw-gmrf
https://osv.dev/vulnerability/EEF-CVE-2026-39806
« BACK_TO_HOME