Use of Uninitialized Variable Affecting apcupsd package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.29% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-APCUPSD-20360687
  • published1 Oct 2026
  • disclosed30 Sept 2026

Introduced: 30 Sep 2026

NewCVE-2026-103436  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest apcupsd.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apcupsd package and not the apcupsd package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.