CVE-2026-81856
Terminal escape sequence injection in Hex via unneutralized server-supplied output
02 Description
Terminal escape sequence injection in Hex via unneutralized server-supplied output
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.40% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 33.9% of scored records. A rank, not a probability.
- NVD base score
- 2.3 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/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
- NVD analysis status
- Deferred. NVD last modified this record on 2026-10-16.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-10-12 15:46Z16 DAYS AGO
- Last updated
- 2026-10-16 17:47Z12 DAYS AGO
- Reserved
- 2026-08-31
- Assigning CNA
- EEF
- Record state
- PUBLISHED
- Severity
- Low (CVSS 2.3)
- CNA CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- Data version
- 5.2
- Document digest
- 5c73d23fda72cf2cb117bcbeab80c479117c8f69e70d44db17d7ccee46d5ffca
05 Affected products
06 References
- github.comGitHub Advisoryhttps://github.com/hexpm/hex/security/advisories/GHSA-fpmj-3cxg-p766
- cna.erlef.orgEEF CNA record for CVE-2026-81856https://cna.erlef.org/cves/CVE-2026-81856.html
- osv.devOSV record EEF-CVE-2026-81856https://osv.dev/vulnerability/EEF-CVE-2026-81856
- github.comIntroducing commit 211303e in hexpm/hexhttps://github.com/hexpm/hex/commit/211303e3f68f5d3ce06450c1ff1a7a770a9ab236
- github.comFix commit dd3305d in hexpm/hexhttps://github.com/hexpm/hex/commit/dd3305ddf0032f6d0b468fd40dbbc3072bfcb8b8
07 Remediation
Upgrade Hex to 2.5.2 or later, for example with mix local.hex. Hex then escapes terminal control characters in text from hex.pm and the registry before printing it, and rejects registry dependencies whose package or repository name isn't a valid name.
08 Fixed in
Debian 13
- erlang-hex No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- erlang-hex Fixed in 2.5.3-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- erlang-hex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- erlang-hex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- erlang-hex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.