CVE-2026-103432 Details
Description
apcupsd through 3.14.14 has an sscanf stack-based buffer overflow in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi, multimon.cgi, and upsfstats.cgi), a related issue to CVE-2026-15544.
A stack-based buffer overflow vulnerability has been identified in the apcupsd version 3.14.14 CGI utility 'upsfetch', specifically within the 'getupsvar()' function of 'src/cgi/upsfetch.c'. This vulnerability arises from an unbounded data copy from a Network Information Server (NIS) response into fixed-size buffers, a flaw that also leads to the disclosure of uninitialized stack memory. The issue is present in the apcupsd CGI sub-package, which is commonly used across various Linux distributions, including Fedora, OpenWrt, and Debian.
The vulnerability can be fixed by backporting the correct data handling logic from the daemon-side version of 'getupsvar()' into the CGI version. This involves applying proper bounds checks and ensuring that buffers are initialized before use.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 30, 2026CISA-ADP
Assessed Sep 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2493140 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d50800550de/src/cgi/upsfetch.c#L240 | [email protected] | Source CodeVendor |
| https://sourceforge.net/projects/apcupsd/ | [email protected] | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apcupsd | 3.14.14 (semver) |
CPE
Remediation
| |
| Fedora | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 30, 2026 | CVE Modified | CISA-ADP |
| Sep 30, 2026 | New CVE Received | [email protected] |
Volerion