{"id":"CVE-2026-103436","sourceIdentifier":"cve@mitre.org","published":"2026-09-30T16:17:09.700","lastModified":"2026-10-02T17:17:02.550","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"apcupsd","product":"apcupsd","defaultStatus":"unknown","modules":["apcupsd-cgi (upsstats.cgi","multimon.cgi","upsfstats.cgi)"],"programFiles":["src/cgi/upsfetch.c"],"programRoutines":[{"name":"getupsvar"}],"versions":[{"version":"0","lessThanOrEqual":"3.14.14","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-02T16:20:15.422577Z","id":"CVE-2026-103436","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@mitre.org","type":"Secondary","description":[{"lang":"en","value":"CWE-457"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2493140","source":"cve@mitre.org"},{"url":"https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240","source":"cve@mitre.org"},{"url":"https://sourceforge.net/projects/apcupsd/","source":"cve@mitre.org"}]}