CVE & CISA-KEV Catalog

CVE-2026-81856

LOW
2.3
CVSS v4
NVD

Description

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in hexpm hex allows a malicious package publisher or a hostile repository server to inject terminal control sequences into the output of Mix tasks. Hex prints strings supplied by the package repository and the documentation search service straight to the terminal through Hex.Shell.info/1 and Hex.Shell.error/1, neutralizing no control characters. Affected sinks span package metadata and configuration snippets in mix hex.info, search results in mix hex.package search and mix hex.search, owner and organization listings, publish and sponsor URLs, the authenticated username in mix hex.user, policy identities in mix hex.policy, and API error bodies rendered by Hex.Utils.print_error_result/1. A malicious package can embed ANSI escape sequences (cursor movement, line erase, carriage returns, OSC 52 clipboard writes) or Unicode bidirectional overrides in any of those fields, so the bytes reach the terminal unchanged, forging displayed URLs, package descriptions and suggested commands, concealing real output, or writing to the clipboard. No authentication or privileged position is required; only publishing a package. This issue affects hex: from 0.0.1 before 2.5.2.

How to fix

Remediation Available
erlang-hexDebian
Fixed in:2.5.3-2CVE-2026-81856

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v4 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone

Impact

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

Exploit Intelligence

0.40%probability of exploitation in 30 days
34thpercentile

Low risk: more likely to be exploited than 34% of all known CVEs.

References

Related Vulnerabilities

Other CWE-150 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-0899Critical9.811%-Fix
CVE-2025-55754Critical9.610%-Fix
CVE-2021-25310High8.84.7%--
CVE-2020-6932Critical10.03.6%--
CVE-2024-28085Low3.32.2%-Fix
CVE-2022-30123Critical10.02.0%-Fix

Common questions

How do I fix CVE-2026-81856?

Upgrade erlang-hex on debian unstable to 2.5.3-2 or later.

Is CVE-2026-81856 being actively exploited?

Not that we know of. CVE-2026-81856 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.40% is the estimated probability that it will be exploited in the next 30 days. That is higher than 34% of all scored CVEs.

How severe is CVE-2026-81856?

CVE-2026-81856 has a CVSS v4 base score of 2.3, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-81856 affect?

Published advisories record a fix for erlang-hex (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-81856
CVE-2026-81856 severity badge

Markdown

[![CVE-2026-81856](https://tridentstack.com/cve/badge/CVE-2026-81856.svg)](https://tridentstack.com/cve/CVE-2026-81856)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-81856"><img src="https://tridentstack.com/cve/badge/CVE-2026-81856.svg" alt="CVE-2026-81856"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-16.