CVE-2026-44042: UltraVNC repeater wi_uudecode off-by-one in base64 decode boundary check
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 wiuudecode() 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-44042?
The severity of CVE-2026-44042 is rated as low with a score of 3.7.
What is the risk level associated with CVE-2026-44042?
CVE-2026-44042 has a risk level of 20.
How can I fix CVE-2026-44042?
To fix CVE-2026-44042, upgrade to a patched version of UltraVNC that addresses the off-by-one error.
What kind of vulnerability is CVE-2026-44042?
CVE-2026-44042 is an off-by-one error found in the Base64 decode helper of UltraVNC repeater.
Which software is affected by CVE-2026-44042?
CVE-2026-44042 affects UltraVNC Repeater versions up to 1.8.2.2.