{"id":"UBUNTU-CVE-2025-13654","details":"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.","modified":"2026-05-20T16:20:22.839104075Z","published":"2025-12-05T13:16:00Z","upstream":["CVE-2025-13654"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-13654"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-13654"},{"type":"REPORT","url":"https://hackingbydoing.wixsite.com/hackingbydoing/post/stack-buffer-overflow-in-duc"},{"type":"REPORT","url":"https://github.com/zevv/duc/releases/tag/1.4.6"},{"type":"REPORT","url":"https://kb.cert.org/vuls/id/441887"},{"type":"REPORT","url":"https://www.kb.cert.org/vuls/id/441887"}],"affected":[{"package":{"name":"duc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.3.3-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"duc","binary_version":"1.3.3-1build1"},{"binary_name":"duc-nox","binary_version":"1.3.3-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-2","1.4.3-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.3-3","binary_name":"duc"},{"binary_name":"duc-nox","binary_version":"1.4.3-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3-6"],"ecosystem_specific":{"binaries":[{"binary_name":"duc","binary_version":"1.4.3-6"},{"binary_name":"duc-nox","binary_version":"1.4.3-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.4-1","binary_name":"duc"},{"binary_name":"duc-nox","binary_version":"1.4.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-1","1.4.5-1build1","1.4.5-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"duc","binary_version":"1.4.5-1build2"},{"binary_name":"duc-nox","binary_version":"1.4.5-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/duc?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"duc","binary_version":"1.4.5-1build2"},{"binary_version":"1.4.5-1build2","binary_name":"duc-nox"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}},{"package":{"name":"duc","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/duc?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-1build2","1.4.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"duc","binary_version":"1.4.6-1"},{"binary_name":"duc-nox","binary_version":"1.4.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13654.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}