CVE-2026-44042 Details
Description
UltraVNC repeater through 1.8.2.2 contains an off-by-one error in the Base64 decode helper used for HTTP Basic authentication. In repeater/webgui/webutils.c:817, the wi_uudecode() function checks whether the input length exceeds the output buffer with a strict greater-than comparison (>), while the correct check should be greater-than-or-equal (>=). When strlen(authdata) equals sizeof(decode), the decoded output length (approximately 3/4 of input) does not overflow the buffer in current practice because the outer HTTP request bounds constrain the Authorization header. However, the defective check leaves a latent off-by-one condition that could become exploitable if the buffering constraints change. The current risk is limited to a one-byte write at the boundary of a 1024-byte stack buffer under constrained conditions.
A vulnerability exists in UltraVNC Repeater versions through 1.8.2.2, specifically within the Base64 decoding helper used for HTTP Basic authentication. The issue arises from an off-by-one error in the wi_uudecode() function, located in repeater/webgui/webutils.c at line 817. The function improperly checks the input length against the output buffer using a strict greater-than comparison, rather than the correct greater-than-or-equal comparison. This flaw creates a latent off-by-one condition, allowing for a potential one-byte write at the boundary of a 1024-byte stack buffer under certain conditions. While the current risk is limited, the vulnerability could be exploited if the buffering constraints were to change.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ultravnc/UltraVNC | securin | Product |
| https://uvnc.com/ | securin | ProductRelease Notes |
| https://www.securin.io/zero-days/cve-2026-44042-wi-uudecode-off-by-one-bounded-ultravnc-repeater | securin |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-193 | Off-by-one Error | securin |
Affected Products
| Product | Versions |
|---|---|
| uvnc ultravnc | <= 1.8.2.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | CVE Modified | securin |
| Jul 2, 2026 | Initial Analysis | [email protected] |
| Jul 1, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2026 | New CVE Received | securin |