CVE Vulnerabilities

CVE-2026-103436

Use of Uninitialized Variable

Published: Sep 30, 2026 | Modified: Oct 02, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

apcupsd through 3.14.14 discloses uninitialized stack memory in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi, multimon.cgi, and upsfstats.cgi. On the single-field path, when the matched STATUS line has fewer than three whitespace-separated tokens, sscanf(%*s %*s %s, answer) performs no assignment but the function returns success, and thus the caller prints the uninitialized destination buffer into the HTTP response.

Weakness

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Potential Mitigations

References