CVE-2026-5004

Wavlink WL-WN579X3-C UPNP firewall.cgi sub_4019FC stack-based overflow

Published Mar 28, 2026 CVSS 4.0 · 8.7 High EPSS 1.2% KEV · Not listed
Description
A vulnerability was determined in Wavlink WL-WN579X3-C 231124. This impacts the function sub_4019FC of the file /cgi-bin/firewall.cgi of the component UPNP Handler. Executing a manipulation of the argument UpnpEnabled can lead to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

The flaw occurs in the UpnpEnabled parameter handling within the UPnP handler’s firewall.cgi script. By sending a crafted value the attacker overflows the stack, allowing arbitrary code execution on the device. This can compromise confidentiality, integrity, and availability of the router and potentially any devices behind it.

Affected Systems

The vulnerability affects Wavlink routers running the WL‑WN579X3‑C model with firmware build 231124. No wider product range or version was listed.

Risk and Exploitability

With a CVSS base score of 8.7 the flaw is considered high severity. The EPSS score is below 1 %, indicating a low probability of current exploitation in the wild, and the vulnerability is not yet in CISA’s KEV catalog. Attackers can trigger the overflow remotely by targeting the upnp-enabled argument through the public interface, which implies a remote, unauthenticated attack vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Wavlink firmware update that addresses the stack-based buffer overflow in /cgi-bin/firewall.cgi
  • If a firmware update is not available, disable UPnP functionality or restrict access to firewall.cgi via the web interface
  • Implement network segmentation to isolate the router from critical devices and monitor logs for anomalous UPnP requests

Generated by OpenCVE AI on April 3, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
CPEs cpe:2.3:h:wavlink:wl-wn579x3-c:-:*:*:*:*:*:*:*
cpe:2.3:o:wavlink:wl-wn579x3-c_firmware:231124:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wavlink wl-wn579x3-c
Vendors & Products Wavlink wl-wn579x3-c
Type Values Removed Values Added
Description A vulnerability was determined in Wavlink WL-WN579X3-C 231124. This impacts the function sub_4019FC of the file /cgi-bin/firewall.cgi of the component UPNP Handler. Executing a manipulation of the argument UpnpEnabled can lead to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
Title Wavlink WL-WN579X3-C UPNP firewall.cgi sub_4019FC stack-based overflow
First Time appeared Wavlink
Wavlink wl-wn579x3-c Firmware
Weaknesses CWE-119
CWE-121
CPEs cpe:2.3:o:wavlink:wl-wn579x3-c_firmware:*:*:*:*:*:*:*:*
Vendors & Products Wavlink
Wavlink wl-wn579x3-c Firmware
References
Metrics cvssV2_0

{'score': 9, 'vector': 'AV:N/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Mar 30, 2026, 4:01 PM
Reserved
Mar 27, 2026, 1:51 PM
Status
Analyzed
Published
Mar 28, 2026, 6:15 PM
Modified
Jun 17, 2026, 10:58 AM