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.
Published: 2026-09-30
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

This flaw is a stack-based buffer overflow triggered by the scanf() call in the getupsvar() function of apcupsd's CGI interface, which is invoked by upsstats.cgi, multimon.cgi, and upsfstats.cgi. The unchecked input can overwrite control data on the stack, allowing an attacker to execute arbitrary code with the privileges of the web server process. The impact is therefore the potential compromise of the host system if the web access to the CGI scripts is reachable.

Affected Systems

Vendors and products affected are apcupsd apcupsd, specifically all releases through version 3.14.14. The flaw resides in the server-side CGI code that is part of the apcupsd package distributed by Red Hat and SourceForge.

Risk and Exploitability

The CVSS score of 8.1 classifies this as a high severity vulnerability. EPSS is not available, and the issue is not listed in the CISA KEV catalog, indicating no documented exploitation in the wild yet. However, because the vulnerable code is exposed via web-accessible CGI scripts, an attacker with network access to the web server could potentially trigger the overflow remotely. Given the high CVSS and the nature of the stack corruption, the risk of exploitation remains significant while a patch is pending.

Generated by OpenCVE AI on September 30, 2026 at 16:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade apcupsd to a version newer than 3.14.14 that resolves the buffer overflow.
  • If an upgrade is not immediately possible, disable or remove upsstats.cgi, multimon.cgi, and upsfstats.cgi from the web server to eliminate the attack surface.
  • Restrict web access to the remaining CGI scripts using firewall rules or authentication to reduce exposure if disabling them is impractical.

Generated by OpenCVE AI on September 30, 2026 at 16:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
Title Stack-based Buffer Overflow in apcupsd CGI Scripts via sscanf

Wed, 30 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
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.
First Time appeared Apcupsd
Apcupsd apcupsd
Weaknesses CWE-121
CPEs cpe:2.3:a:apcupsd:apcupsd:*:*:*:*:*:*:*:*
Vendors & Products Apcupsd
Apcupsd apcupsd
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-30T19:35:31.145Z

Reserved: 2026-09-30T15:31:07.713Z

Link: CVE-2026-103432

cve-icon Vulnrichment

Updated: 2026-09-30T19:35:24.073Z

cve-icon NVD

Status : Deferred

Published: 2026-09-30T16:17:09.533

Modified: 2026-09-30T20:17:31.130

Link: CVE-2026-103432

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T03:00:14Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow