Security Advisory

CVE-2022-32548: DrayTek Vigor wlogin.cgi Buffer Overflow

Last updated:
  • CVE-2022-32548

CVE-2022-32548 is a buffer overflow in wlogin.cgi, the WebUI login page of many DrayTek Vigor routers: an attacker who reaches the login page can overflow it through the username or password field without logging in. NVD scores it 9.8, MITRE as CNA 10.0. DrayTek lists fixed firmware for 24 series and says to change the admin password after upgrading.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

5.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-32548 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
DrayTek Vigor3910, Vigor2962 and Vigor1000Bcpe:2.3:o:draytek:vigor3910_firmware:*:*:*:*:*:*:*:*Firmware before 4.3.1.1; fixed in 4.3.1.1 (DrayTek)
DrayTek Vigor2865, Vigor2866 and Vigor2927 seriescpe:2.3:o:draytek:vigor2865_firmware:*:*:*:*:*:*:*:*Firmware before 4.4.0; fixed in 4.4.0
DrayTek Vigor2135, Vigor2765 and Vigor2766 seriescpe:2.3:o:draytek:vigor2135_firmware:*:*:*:*:*:*:*:*Firmware before 4.4.2; fixed in 4.4.2
DrayTek Vigor 165 and Vigor 166cpe:2.3:o:draytek:vigor165_firmware:*:*:*:*:*:*:*:*Firmware before 4.2.4; fixed in 4.2.4
DrayTek Vigor2915 seriescpe:2.3:o:draytek:vigor2915_firmware:*:*:*:*:*:*:*:*Firmware before 4.3.3.2; fixed in 4.3.3.2
DrayTek Vigor2862, Vigor2926, Vigor2620 and VigorLTE 200ncpe:2.3:o:draytek:vigor2862_firmware:*:*:*:*:*:*:*:*Firmware before 3.9.8.1; fixed in 3.9.8.1 (DrayTek names the Vigor 2620n; NVD CPEs name vigor2620l and vigor2620ln)
DrayTek Vigor2952 series and Vigor3220cpe:2.3:o:draytek:vigor3220_firmware:*:*:*:*:*:*:*:*Firmware before 3.9.7.2; fixed in 3.9.7.2
DrayTek Vigor2133 and Vigor2762 seriescpe:2.3:o:draytek:vigor2133_firmware:*:*:*:*:*:*:*:*Firmware before 3.9.6.4; fixed in 3.9.6.4
DrayTek Vigor2832 seriescpe:2.3:o:draytek:vigor2832_firmware:*:*:*:*:*:*:*:*Firmware before 3.9.6; fixed in 3.9.6
DrayTek Vigor2760, Vigor2860 and Vigor2925 series—Listed by DrayTek only (no NVD CPE): Vigor2760 fixed in 3.8.9.6; Vigor2860 and Vigor2925 fixed in 3.9.2

What does this mean for affected devices?

NVD's description, from MITRE as CNA: "An issue was discovered on certain DrayTek Vigor routers before July 2022 such as the Vigor3910 before 4.3.1.1. /cgi-bin/wlogin.cgi has a buffer overflow via the username or password to the aa or ab field" (NVD, CVE record). The MikroTik RouterOS and DrayTek Vigor vulnerability guide treats it as the main DrayTek WebUI flaw of 2022.

How severe is CVE-2022-32548?

NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). MITRE, the CNA, scores 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H); the only difference is the changed scope. NVD maps the weakness to CWE-120, classic buffer overflow. DrayTek rates it critical and calls it an "unauthenticated remote code execution vulnerability".

Which DrayTek firmware fixes it?

DrayTek UK's advisory says it learned of the flaw in April 2022 from testing reported by the Trellix Threat Labs Vulnerability Research team, started shipping firmware in May 2022, and was not aware of exploitation in the wild. Models not in its table are not affected. Minimum fixed firmware:

Model Firmware
Vigor 165, Vigor 166 4.2.4
Vigor 2135, 2765, 2766 series 4.4.2
Vigor 2865, 2866, 2927 series 4.4.0
Vigor 2915 series 4.3.3.2
Vigor 2962, Vigor 3910, Vigor 1000B 4.3.1.1
VigorLTE 200n, Vigor 2620n, 2862 and 2926 series 3.9.8.1
Vigor 2952 series, Vigor 3220 3.9.7.2
Vigor 2133, 2762 series 3.9.6.4
Vigor 2832 series 3.9.6
Vigor 2860, 2925 series 3.9.2
Vigor 2760 series 3.8.9.6

NVD's CPE configuration follows the same versions but omits the Vigor2760, 2860 and 2925 and names the Vigor2620L/LN rather than the 2620n; use the vendor table. Until a unit runs fixed firmware, DrayTek says to disable remote administration and SSL VPN, because "the ACL does not apply to SSL VPN connections (Port 443)". After upgrading (with the .ALL file, so the configuration is kept), change the router admin password.

Is CVE-2022-32548 exploited?

It is not in the CISA KEV catalog as of 2026-11-28 (catalog version 2026.11.27, CISA KEV). FIRST EPSS gives 0.04991, the 93.01st percentile, in the 2026-11-27 dataset (FIRST EPSS). Exploited DrayTek flaws include the Vigor2960/3900/300B injections CVE-2020-8515 and CVE-2020-15415. The class fix is in how to fix memory corruption in embedded firmware.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-28): status Modified, published 2022-08-29; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; MITRE ([email protected]) Secondary 10.0 with S:C; CWE-120; CPEs per model with versionEndExcluding 4.3.1.1, 4.4.0, 4.4.2, 4.2.4, 4.3.3.2, 3.9.8.1, 3.9.7.2, 3.9.6.4, 3.9.6; no CPE for Vigor2760, 2860, 2925. — NVD
  • CVE record: CNA MITRE, PUBLISHED 2022-08-29; CVSS 3.1 10.0; vendor/product n/a. — CVE Services
  • DrayTek UK advisory: priority critical; aware April 2022, firmware from May 2022, no known in-the-wild exploits; per-model firmware table (24 rows); disable remote access and SSL VPN until patched, ACL does not apply to SSL VPN port 443; use .ALL file; update admin password; credit Trellix Threat Labs. — DrayTek UK
  • Not in KEV catalog version 2026.11.27, checked 2026-11-28. — CISA KEV
  • EPSS 0.04991, percentile 0.93006, dataset 2026-11-27, read 2026-11-28. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. DrayTek UK: DrayTek Router unauthenticated remote code execution vulnerability (CVE-2022-32548)
  3. CVE record CVE-2022-32548 (CVE Services JSON)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which DrayTek firmware fixes CVE-2022-32548?

It depends on the model: for example 4.3.1.1 for the Vigor3910, 2962 and 1000B, 4.4.0 for the Vigor2865, 2866 and 2927, and 3.9.8.1 for the Vigor2862 and 2926. DrayTek's advisory lists all 24 series; a model not in its table is not affected (per DrayTek UK).

Does an access control list protect an unpatched Vigor router?

Not fully. DrayTek says the remote-management ACL does not apply to SSL VPN connections on port 443, so it advises disabling both remote administration and SSL VPN until the router runs fixed firmware (per DrayTek UK).

Why do NVD and MITRE give different scores for CVE-2022-32548?

NVD scores CVSS v3.1 9.8 with unchanged scope; MITRE, the CNA, scores 10.0 with changed scope. The other metrics are identical: network attack, no privileges, no user interaction, high impact (per NVD).

Is CVE-2022-32548 in the CISA KEV catalog?

No, not as of 2026-11-28 (catalog 2026.11.27). FIRST EPSS gives 0.04991 (93.01st percentile) in the 2026-11-27 dataset. DrayTek said in 2022 it knew of no exploitation in the wild (per CISA KEV, FIRST EPSS and DrayTek UK).