Duc Stack Buffer Overflow Vulnerability Allowing Out-of-Bounds Read

Vulnerability

A stack buffer overflow vulnerability has been identified in Duc, a disk management tool, specifically in the buffer_get function. This vulnerability arises from an unsigned integer underflow, which allows for an out-of-bounds read of memory. The issue can be exploited by supplying crafted input that manipulates the buffer's length, bypassing safety checks and causing the application to crash or disclose sensitive information from adjacent memory on the stack.

Impact

Exploitation of this vulnerability leads to a denial-of-service condition, causing the application to crash, and allows for information disclosure by reading sensitive data from the stack.

Reproduction

The vulnerability can be reproduced by creating a small buffer and requesting a read length that exceeds the buffer's size. This can be done by crafting input that exploits the unsigned integer underflow in the length check, causing the buffer_get function to perform an out-of-bounds read using memcpy.

Remediation

Users are advised to upgrade to Duc version 1.4.6, which addresses this vulnerability.

Added: Dec 5, 2025, 2:47 PM
Updated: Dec 5, 2025, 8:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
7.7
relevance
1.2
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.