{"id":"DEBIAN-CVE-2026-103436","details":"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.","modified":"2026-10-03T08:47:33.136877009Z","published":"2026-09-30T16:17:09.700Z","upstream":["CVE-2026-103436"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-103436"}],"affected":[{"package":{"name":"apcupsd","ecosystem":"Debian:12","purl":"pkg:deb/debian/apcupsd?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.14.14-3.1","3.14.14-4","3.14.14-5","3.14.14-6","3.14.14-7"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103436.json"}},{"package":{"name":"apcupsd","ecosystem":"Debian:13","purl":"pkg:deb/debian/apcupsd?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.14.14-5","3.14.14-6","3.14.14-7"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103436.json"}},{"package":{"name":"apcupsd","ecosystem":"Debian:14","purl":"pkg:deb/debian/apcupsd?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.14.14-5","3.14.14-6","3.14.14-7"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103436.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}