CVE Catalog

CVE-2026-103436

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Summary

Vulnerability in 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.

Risk Assessment

Risk of leaking sensitive stack memory data in HTTP responses, potentially leading to information disclosure.

Recommendation

Update apcupsd to a version newer than 3.14.14 that includes the fix.

Other vulnerabilities in apcupsd

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS