{"id":"UBUNTU-CVE-2025-51006","details":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the dlt_linuxsll2_cleanup() function in plugins/dlt_linuxsll2/linuxsll2.c. This vulnerability is triggered when tcpedit_dlt_cleanup() indirectly invokes the cleanup routine multiple times on the same memory region. By supplying a specifically crafted pcap file to the tcprewrite binary, a local attacker can exploit this flaw to cause a Denial of Service (DoS) via memory corruption.","modified":"2026-05-20T16:11:23.642078500Z","published":"2025-09-22T14:15:00Z","upstream":["CVE-2025-51006"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-51006"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-51006"},{"type":"REPORT","url":"https://github.com/appneta/tcpreplay/issues/926"},{"type":"REPORT","url":"https://github.com/sy460129/CVE-2025-51006"}],"affected":[{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.4-2","3.4.4-2+deb8u1build0.16.04.1","3.4.4-2+deb8u1ubuntu0.1~esm1","3.4.4-2+deb8u1ubuntu0.1~esm2","3.4.4-2+deb8u1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.4-2+deb8u1ubuntu0.1~esm3","binary_name":"tcpreplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.6-1","4.2.6-1ubuntu0.1~esm1","4.2.6-1ubuntu0.1~esm2","4.2.6-1ubuntu0.1~esm3","4.2.6-1ubuntu0.1~esm4","4.2.6-1ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"4.2.6-1ubuntu0.1~esm5","binary_name":"tcpreplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-1build1","4.3.2-1ubuntu0.1~esm1","4.3.2-1ubuntu0.1~esm2","4.3.2-1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"tcpreplay","binary_version":"4.3.2-1ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.3-2","4.3.4-1","4.3.4-1ubuntu0.1~esm1","4.3.4-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"tcpreplay","binary_version":"4.3.4-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.3-1","4.4.4-1","4.4.4-1build1","4.4.4-1build2","4.4.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.4.4-1ubuntu0.1~esm1","binary_name":"tcpreplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.1-1","4.5.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tcpreplay","binary_version":"4.5.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}},{"package":{"name":"tcpreplay","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tcpreplay?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.2-1","4.5.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.5.2-1build1","binary_name":"tcpreplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51006.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}