{"id":"CVE-2026-103436","published":"2026-09-30T16:17:09.700","lastModified":"2026-10-02T17:17:02.550","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.","cvssScore":3.7,"cvssSeverity":"LOW","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","cwes":["CWE-457"],"vendors":[],"products":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2493140","tags":[]},{"url":"https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240","tags":[]},{"url":"https://sourceforge.net/projects/apcupsd/","tags":[]}],"exploitRefs":[{"url":"https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240","tags":[]}],"hasPoc":true,"ai":null}