Skip to content

CVE-2026-103436 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 STA...

LowCVSS 3.7 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/apcupsd(Debian 12) = 3.14.14-3.1; = 3.14.14-4; = 3.14.14-5; = 3.14.14-6 +2 more No fix listed No fix yet
debian/apcupsd(Debian 13) = 3.14.14-5; = 3.14.14-6; = 3.14.14-7; All versions No fix listed No fix yet
debian/apcupsd(Debian 14) = 3.14.14-5; = 3.14.14-6; = 3.14.14-7; All versions No fix listed No fix yet
ubuntu/apcupsd(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/apcupsd(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/apcupsd(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/apcupsd(Ubuntu 26.10) All versions No fix listed No fix yet
apcupsd <= 3.14.14 after 3.14.14 Fixed

Affected products

ProductAffected versionsFixed in
apcupsd <= 3.14.14 No fix listed
debian/apcupsd(Debian:12) All versions No fix listed
debian/apcupsd(Debian:12) = 3.14.14-3.1 No fix listed
debian/apcupsd(Debian:12) = 3.14.14-4 No fix listed
debian/apcupsd(Debian:12) = 3.14.14-5 No fix listed
debian/apcupsd(Debian:12) = 3.14.14-6 No fix listed
debian/apcupsd(Debian:12) = 3.14.14-7 No fix listed
debian/apcupsd(Debian:13) All versions No fix listed
debian/apcupsd(Debian:13) = 3.14.14-5 No fix listed
debian/apcupsd(Debian:13) = 3.14.14-6 No fix listed
debian/apcupsd(Debian:13) = 3.14.14-7 No fix listed
debian/apcupsd(Debian:14) All versions No fix listed
debian/apcupsd(Debian:14) = 3.14.14-5 No fix listed
debian/apcupsd(Debian:14) = 3.14.14-6 No fix listed
debian/apcupsd(Debian:14) = 3.14.14-7 No fix listed
ubuntu/apcupsd(Ubuntu:22.04) All versions No fix listed
ubuntu/apcupsd(Ubuntu:24.04) All versions No fix listed
ubuntu/apcupsd(Ubuntu:26.04) All versions No fix listed
ubuntu/apcupsd(Ubuntu:26.10) All versions No fix listed

References