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.
History

Fri, 02 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Title Uninitialized Memory Disclosure via CGI in apcupsd

Wed, 30 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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.
First Time appeared Apcupsd
Apcupsd apcupsd
Weaknesses CWE-457
CPEs cpe:2.3:a:apcupsd:apcupsd:*:*:*:*:*:*:*:*
Vendors & Products Apcupsd
Apcupsd apcupsd
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-09-30T15:38:48.231Z

Updated: 2026-10-02T16:20:26.467Z

Reserved: 2026-09-30T15:38:47.884Z

Link: CVE-2026-103436

cve-icon Vulnrichment

Updated: 2026-10-02T16:20:21.698Z

cve-icon NVD

Status : Deferred

Published: 2026-09-30T16:17:09.700

Modified: 2026-10-02T17:17:02.550

Link: CVE-2026-103436

cve-icon Redhat

No data.