CVE-2026-103436

NameCVE-2026-103436
Descriptionapcupsd 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1149971

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
apcupsd (PTS)bookworm3.14.14-3.1vulnerable
trixie3.14.14-5vulnerable
forky, sid3.14.14-7vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
apcupsdsource(unstable)(unfixed)1149971

Notes

[trixie] - apcupsd <no-dsa> (Minor issue)
[bookworm] - apcupsd <postponed> (Minor issue; needs a malicious NIS server allowed by hosts.conf, localhost by default)
https://bugzilla.redhat.com/show_bug.cgi?id=2493140

Search for package or bug name: Reporting problems