| Name | CVE-2026-103436 |
| 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. |
| Source | CVE (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 Bugs | 1149971 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| apcupsd (PTS) | bookworm | 3.14.14-3.1 | vulnerable |
| trixie | 3.14.14-5 | vulnerable | |
| forky, sid | 3.14.14-7 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| apcupsd | source | (unstable) | (unfixed) | 1149971 |
[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