# CVE-2021-38687: Stack Overflow Vulnerability in Surveillance Station

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-12-29 · Modified: 2024-09-16
- Record: https://cvemate.com/vulnerability/CVE-2021-38687 · JSON: https://cvemate.com/vulnerability/CVE-2021-38687/json

## Description

```text
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
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.323%, percentile 71.88%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- qnap systems inc. 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 )
- qnap surveillance\_station: \< 5.2.0.4.2 \| \< 5.2.0.3.2 \| \< 5.1.5.4.6 \| \< 5.1.5.3.6

## References

- <https://www.qnap.com/en/security-advisory/qsa-21-46>

---

Data as of 2026-12-05T11:14:58.094Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
