CVE Vulnerabilities

CVE-2025-62852

Stack-based Buffer Overflow

Published: Jan 02, 2026 | Modified: Jan 06, 2026
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

A buffer overflow vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to modify memory or crash processes.

We have already fixed the vulnerability in the following version: QTS 5.2.8.3332 build 20251128 and later

Weakness

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Affected Software

NameVendorStart VersionEnd Version
QtsQnap5.2.0.2737-build_20240417 (including)5.2.0.2737-build_20240417 (including)
QtsQnap5.2.0.2744-build_20240424 (including)5.2.0.2744-build_20240424 (including)
QtsQnap5.2.0.2782-build_20240601 (including)5.2.0.2782-build_20240601 (including)
QtsQnap5.2.0.2802-build_20240620 (including)5.2.0.2802-build_20240620 (including)
QtsQnap5.2.0.2823-build_20240711 (including)5.2.0.2823-build_20240711 (including)
QtsQnap5.2.0.2851-build_20240808 (including)5.2.0.2851-build_20240808 (including)
QtsQnap5.2.0.2860-build_20240817 (including)5.2.0.2860-build_20240817 (including)
QtsQnap5.2.1.2930-build_20241025 (including)5.2.1.2930-build_20241025 (including)
QtsQnap5.2.2.2950-build_20241114 (including)5.2.2.2950-build_20241114 (including)
QtsQnap5.2.3.3006-build_20250108 (including)5.2.3.3006-build_20250108 (including)
QtsQnap5.2.4.3070-build_20250312 (including)5.2.4.3070-build_20250312 (including)
QtsQnap5.2.4.3079-build_20250321 (including)5.2.4.3079-build_20250321 (including)
QtsQnap5.2.4.3092-build_20250403 (including)5.2.4.3092-build_20250403 (including)
QtsQnap5.2.5.3145-build_20250526 (including)5.2.5.3145-build_20250526 (including)
QtsQnap5.2.6.3195-build_20250715 (including)5.2.6.3195-build_20250715 (including)
QtsQnap5.2.6.3229-build_20250818 (including)5.2.6.3229-build_20250818 (including)
QtsQnap5.2.7.3256-build_20250913 (including)5.2.7.3256-build_20250913 (including)
QtsQnap5.2.7.3297-build_20251024 (including)5.2.7.3297-build_20251024 (including)

Potential Mitigations

  • Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking.
  • D3-SFCV (Stack Frame Canary Validation) from D3FEND [REF-1334] discusses canary-based detection in detail.
  • Run or compile the software using features or extensions that randomly arrange the positions of a program’s executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code.
  • Examples include Address Space Layout Randomization (ASLR) [REF-58] [REF-60] and Position-Independent Executables (PIE) [REF-64]. Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as “rebasing” (for Windows) and “prelinking” (for Linux) [REF-1332] using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking.
  • For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND [REF-1335].

References