CVE-2026-49753
published medium CVSS 4.0 · 6.3HTTP response smuggling in Mint HTTP/1 client via lenient Content-Length parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elixir-mint | — | mint0.1.0 to < 1.9.0 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-mint | — | elixir-mint/mintmint · 65e0e86d799a6d3b08e4372fccdd9747535e0dd6 to < 47e48027480228e4e32a0b4df39db497b4804921 · Other versions: unaffected | Affected | Not stated | EEF |
Description
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in elixir-mint Mint allows attacker-controlled HTTP/1 servers to desynchronise response framing on shared connections. Mint's HTTP/1 Content-Length parser, Mint.HTTP1.Parse.content_length_header/1 in lib/mint/http1/parse.ex, parses the header value with Integer.parse/1, which accepts an optional + or - sign prefix. The length >= 0 guard rejects negatives, but inputs such as +0 or +123 are returned as valid lengths. RFC 7230 specifies Content-Length = 1*DIGIT, with no sign character permitted. A fronting proxy or load balancer that strictly enforces the grammar will reject or reframe a header like Content-Length: +0, while Mint silently treats it as zero. When Mint reuses the socket (keep-alive, pipelining, or any pooled connection shared across requesters), the parser disagreement is a response-smuggling primitive: the proxy delimits the body one way, Mint another, and bytes from one response get attributed to the next. Where the same Mint connection is shared across trust boundaries, an attacker-controlled upstream can leak bytes into a different consumer's response stream. This issue affects mint: from 0.1.0 before 1.9.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elixir-mint | mint | 0.1.0 to < 1.9.0 (affected · semver)Default: unaffected | EEF · cna |
| elixir-mint | mint | 65e0e86d799a6d3b08e4372fccdd9747535e0dd6 to < 47e48027480228e4e32a0b4df39db497b4804921 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-444 CWE-444 Inconsistent Interpretation of HTTP Requests
References
5- EEF CNA record for CVE-2026-49753 https://cna.erlef.org/cves/CVE-2026-49753.html
- Fix commit 47e4802 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/47e48027480228e4e32a0b4df39db497b4804921
- Introducing commit 65e0e86 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/65e0e86d799a6d3b08e4372fccdd9747535e0dd6
- Content-Length header accepts non-RFC "+" sign prefix https://github.com/elixir-mint/mint/security/advisories/GHSA-mjqx-c6f6-7rc2
- OSV record EEF-CVE-2026-49753 https://osv.dev/vulnerability/EEF-CVE-2026-49753
Provider assertions
2EEF · cna
HTTP response smuggling in Mint HTTP/1 client via lenient Content-Length parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b852197acd614122dae232cff6ef15d3754d138333af37ca0b5b446f102d0a1
- Ingested
- 20 Nov 2026, 08:41:21 UTC
- Source record
- Official CVE record