---
id: CVE-2025-13654
title: >-
  A stack buffer overflow vulnerability exists in the buffer_get function of
  duc, a disk management tool, where a condition can evaluate to true due to
  underflow, allowing an out-of-bounds read.
summary: >-
  A stack buffer overflow vulnerability exists in the buffer_get function of
  duc, a disk management tool, where a condition can evaluate to true due to
  underflow, allowing an out-of-bounds read.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: zevv
product: duc
affected:
  - duc < 1.4.6
patched:
  - duc 1.4.6
published: '2025-12-05'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T23:10:00.463'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-13654'
references:
  - url: 'https://github.com/zevv/duc/releases/tag/1.4.6'
    label: cret@cert.org
  - url: >-
      https://hackingbydoing.wixsite.com/hackingbydoing/post/stack-buffer-overflow-in-duc
    label: cret@cert.org
  - url: 'https://kb.cert.org/vuls/id/441887'
    label: cret@cert.org
  - url: >-
      https://github.com/zevv/duc/commit/8638c4365ffd9e1966bdef8af6339dbee8c17e66
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.kb.cert.org/vuls/id/441887'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00879
epssPercentile: 0.57355
ingestedAt: '2026-09-25T23:21:16.893Z'
---

## Overview

A stack buffer overflow vulnerability exists in the buffer_get function of duc, a disk management tool, where a condition can evaluate to true due to underflow, allowing an out-of-bounds read.

## Affected

- `duc < 1.4.6`

## Remediation

Upgrade past the affected range:

- `duc 1.4.6`
