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 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.
CVE-2026-103436
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-103436
apcupsd
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "apcupsd",
"modules": [
"apcupsd-cgi (upsstats.cgi",
"multimon.cgi",
"upsfstats.cgi)"
],
"product": "apcupsd",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "3.14.14"
}
],
"programFiles": [
"src/cgi/upsfetch.c"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "getupsvar"
}
]
}
]- Related CVEs
- CVE-2026-103436
Source reference:
/cveMetadata/cveId
Publisher severity
low
Source reference: /containers/cna/metrics
- Event
- #8019 · Revision 1
- Added to Heist Feed
- Publisher date