CVE-2021-38687: Stack Overflow Vulnerability in Surveillance Station
Vulnerability summary
CVE-2021-38687 is a critical (CVSS 9.8) vulnerability in qnap systems inc. surveillance station. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 29-12-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
A stack buffer overflow vulnerability has been reported to affect QNAP NAS running Surveillance Station. If exploited, this vulnerability allows attackers to execute arbitrary code. We have already fixed this vulnerability in the following versions of Surveillance Station: QTS 5.0.0 (64 bit): Surveillance Station 5.2.0.4.2 ( 2021/10/26 ) and later QTS 5.0.0 (32 bit): Surveillance Station 5.2.0.3.2 ( 2021/10/26 ) and later QTS 4.3.6 (64 bit): Surveillance Station 5.1.5.4.6 ( 2021/10/26 ) and later QTS 4.3.6 (32 bit): Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later QTS 4.3.3: Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Qnap1 product
- surveillance_station< 5.2.0.4.2 | < 5.2.0.3.2 | < 5.1.5.4.6 | < 5.1.5.3.6
Qnap systems inc.1 product
- surveillance station≥ unspecified, < 5.2.0.4.2 ( 2021/10/26 ) | ≥ unspecified, < 5.2.0.3.2 ( 2021/10/26 ) | ≥ unspecified, < 5.1.5.4.6 ( 2021/10/26 ) | ≥ unspecified, < 5.1.5.3.6 ( 2021/10/26 )
2 vendors · 2 products