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.
References
Configurations
No configuration.
History
30 Sep 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-30 16:17
Updated : 2026-10-02 17:17
NVD link : CVE-2026-103436
Mitre link : CVE-2026-103436
CVE.ORG link : CVE-2026-103436
JSON object : View
Products Affected
No product.
CWE
CWE-457
Use of Uninitialized Variable
