# CVE-2026-103436: apcupsd through 3.14.14 discloses uninitialized stack memory in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi, multimon.cgi, and…

- Severity: Low 3.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-30T15:38:48.231Z
- Modified: 2026-10-02T17:17:02.550Z
- Weaknesses: CWE-457
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- apcupsd apcupsd: up to 3.14.14

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2493140>
- <https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240>
- <https://sourceforge.net/projects/apcupsd/>

## Sources

- CVE List: [CVE-2026-103436](https://www.cve.org/CVERecord?id=CVE-2026-103436), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-103436](https://nvd.nist.gov/vuln/detail/CVE-2026-103436), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-103436 · Whole record: https://cve.day/CVE-2026-103436.json · Rebuilt by cve.day 2026-11-25T22:59:41.685Z
