Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-103436 EUVD-2026-90187GHSA-8jv2-xm7v-55rg

apcupsd through 3.14.14 discloses uninitialized stack memory in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi, multimon.cgi, and …

Published Sep 30, 2026 · Updated Oct 2, 2026 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
apcupsd apcupsd ≤ 3.14.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apcupsd No fix yet —
Debian 13 apcupsd No fix yet —
Debian 12 apcupsd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 apcupsd No fix yet —
Ubuntu 26.04 LTS apcupsd No fix yet —
Ubuntu 24.04 LTS apcupsd No fix yet —
Ubuntu 22.04 LTS apcupsd No fix yet —
Ubuntu 20.04 LTS apcupsd No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS apcupsd No fix yet —
Ubuntu 16.04 LTS apcupsd No fix yet —

References