{"id":"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-28T02:31:04.894304358Z","published":"2026-09-30T15:38:48.231Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103436.json","cna_assigner":"mitre","cwe_ids":["CWE-457"]},"references":[{"type":"WEB","url":"https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240"},{"type":"WEB","url":"https://sourceforge.net/projects/apcupsd/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103436.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103436"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2493140"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/therealbstern/apcupsd","events":[{"introduced":"0"},{"last_affected":"a60450edad6e9eb7f66b9b0715b5fa25655c4e18"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"3.14.14"}]},{"range":[{"introduced":"0"},{"last_affected":"3.14.14"}],"source":"DESCRIPTION"}]}}],"versions":["Release-3_14_14"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103436.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}