{"id":"CVE-2023-4256","aliases":["DEBIAN-CVE-2023-4256","EUVD-2023-54127","GHSA-pjxj-fcrm-89x2","MGASA-2024-0098","UBUNTU-CVE-2023-4256","USN-7231-1","openSUSE-SU-2025:20119-1"],"status":"published","title":"Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00326,"percentile":0.25826,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2023-12-21T16:03:21Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"Debian:13","package":"tcpreplay","fixed_in":["4.5.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpreplay","fixed_in":["4.5.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tcpreplay","fixed_in":["4.2.6-1ubuntu0.1~esm5"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tcpreplay","fixed_in":["4.3.2-1ubuntu0.1~esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tcpreplay","fixed_in":["4.3.4-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"tcpreplay","fixed_in":["4.4.4-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.3-1","4.4.4-1","4.5.1-1","4.5.2-1","4.5.3-1","4.5.4-1"]},{"source":"osv","ecosystem":"Debian:13","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.1-1"}]}]},{"source":"osv","ecosystem":"Mageia:9","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.3-2.1.mga9"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.6-1ubuntu0.1~esm5"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.2-1ubuntu0.1~esm3"}]}],"versions":["4.3.2-1build1","4.3.2-1ubuntu0.1~esm1","4.3.2-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.4-1ubuntu0.1~esm2"}]}],"versions":["4.3.3-2","4.3.4-1","4.3.4-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.4-1ubuntu0.1~esm1"}]}],"versions":["4.4.3-1","4.4.4-1","4.4.4-1build1","4.4.4-1build2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.4-2+deb8u1ubuntu0.1~esm3"}]}],"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"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.6-1ubuntu0.1~esm5"}]}],"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"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.2-1ubuntu0.1~esm3"}]}],"versions":["4.3.2-1build1","4.3.2-1ubuntu0.1~esm1","4.3.2-1ubuntu0.1~esm2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.4-1ubuntu0.1~esm2"}]}],"versions":["4.3.3-2","4.3.4-1","4.3.4-1ubuntu0.1~esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.4-1ubuntu0.1~esm1"}]}],"versions":["4.4.3-1","4.4.4-1","4.4.4-1build1","4.4.4-1build2"],"bundled":9},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-bp160.1.1"}]}],"bundled":11}],"products":[{"vendor":"broadcom","product":"tcpreplay"},{"vendor":"fedora","product":"extra packages for enterprise linux"},{"vendor":"fedora","product":"fedora"},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2255212","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/appneta/tcpreplay/issues/813","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V3GYCHPVJ2VFN3D7FI4IRMDVMILLWBRF/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMW5CIODKRHUUH7NTAYIRWGSJ56DTGXM/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EHUILQV2YJI5TXXXJA5FQ2HJQGFT7NTN/","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4256","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V3GYCHPVJ2VFN3D7FI4IRMDVMILLWBRF"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EHUILQV2YJI5TXXXJA5FQ2HJQGFT7NTN"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMW5CIODKRHUUH7NTAYIRWGSJ56DTGXM"},{"url":"https://github.com/advisories/GHSA-pjxj-fcrm-89x2"},{"url":"https://packages.fedoraproject.org/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4256.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-4256","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0098.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33013","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-4256","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4256","tags":["report"]},{"url":"https://github.com/appneta/tcpreplay/commit/c23738f15dd43e320364f7d3b45174f253e82884","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7231-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-27783","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27784","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27785","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27786","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27787","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27788","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-27789","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-43279","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1218249","tags":["report"]},{"url":"https://bugzilla.suse.com/1221324","tags":["report"]},{"url":"https://bugzilla.suse.com/1222131","tags":["report"]},{"url":"https://bugzilla.suse.com/1243845","tags":["report"]},{"url":"https://bugzilla.suse.com/1247919","tags":["report"]},{"url":"https://bugzilla.suse.com/1248322","tags":["report"]},{"url":"https://bugzilla.suse.com/1248595","tags":["report"]},{"url":"https://bugzilla.suse.com/1248596","tags":["report"]},{"url":"https://bugzilla.suse.com/1248597","tags":["report"]},{"url":"https://bugzilla.suse.com/1248964","tags":["report"]},{"url":"https://bugzilla.suse.com/1250356","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4256","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-43279","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-22654","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-3024","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-51006","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-8746","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9157","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9384","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9385","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9386","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9649","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-4256","title":"Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:03:21.837Z","modified":"2025-02-13T17:09:26.781Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:35:30.474787Z"}],"euvd":[{"id":"EUVD-2023-54127","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:03:21Z","modified":"2025-02-13T17:09:26Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T00:03:49.098775Z"}],"ghsa":[{"id":"GHSA-pjxj-fcrm-89x2","title":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the...","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T18:30:23Z","modified":"2024-03-24T03:30:42Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:55:43.067988Z"}],"nvd":[{"id":"CVE-2023-4256","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:15:10.4Z","modified":"2026-06-17T06:37:25.487Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:08:57.117371Z"}],"osv":[{"id":"CVE-2023-4256","title":"Tcpreplay: tcprewrite: double free in tcpedit_dlt_cleanup() in plugins/dlt_plugins.c","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:03:21.837Z","modified":"2026-10-28T02:30:38.332835622Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:44:33.792101Z"},{"id":"DEBIAN-CVE-2023-4256","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:15:10.4Z","modified":"2026-10-26T18:01:53.477913415Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"UBUNTU-CVE-2023-4256","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.","status":"published","published":"2023-12-21T16:15:00Z","modified":"2026-02-04T04:39:34.424448Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"MGASA-2024-0098","title":"Updated tcpreplay packages fix security vulnerabilities","description":"Within tcpreplay's tcprewrite, a double free vulnerability has been\nidentified in the tcpedit_dlt_cleanup() function within\nplugins/dlt_plugins.c. This vulnerability can be exploited by supplying\na specifically crafted file to the tcprewrite binary. This flaw enables\na local attacker to initiate a Denial of Service (DoS) attack.\n(CVE-2023-4256)\nNull Pointer Dereference in mask_cidr6 component at cidr.c in Tcpreplay\n4.4.4 allows attackers to crash the application via crafted tcprewrite\ncommand. (CVE-2023-43279)\n","status":"published","published":"2024-03-28T03:52:55Z","modified":"2026-04-16T04:43:36.526894922Z","updated_at":"2026-11-02T15:49:42.684501Z"},{"id":"openSUSE-SU-2025:20119-1","title":"Security update for tcpreplay","description":"This update for tcpreplay fixes the following issues:\n\n- update to 4.5.2:\n  * features added since 4.4.4\n    - fix/recalculate header checksum for ipv6-frag\n    - IPv6 frag checksum support\n    - AF_XDP socket support\n    - tcpreplay -w (write into a pcap file)\n    - tcpreplay --fixhdrlen\n    - --include and --exclude options\n    - SLL2 support\n    - Haiku support\n  * security fixes reported for 4.4.4 fixed in 4.5.2\n    - CVE-2023-4256  / bsc#1218249\n    - CVE-2023-43279 / bsc#1221324\n    - CVE-2024-3024  / bsc#1222131 (likely)\n    - CVE-2024-22654 / bsc#1243845\n    - CVE-2025-9157  / bsc#1248322\n    - CVE-2025-9384  / bsc#1248595\n    - CVE-2025-9385  / bsc#1248596\n    - CVE-2025-9386  / bsc#1248597\n    - CVE-2025-9649  / bsc#1248964\n    - CVE-2025-51006 / bsc#1250356\n","status":"published","published":"2025-11-27T12:29:40Z","modified":"2026-03-23T04:54:17.566274Z","updated_at":"2026-11-02T16:58:38.101535Z"},{"id":"USN-7231-1","title":"tcpreplay vulnerabilities","description":"It was discovered that Tcpreplay incorrectly handled memory when using the\ntcprewrite utility. A remote attacker could possibly use this issue to\ncause Tcpreplay to crash, resulting in a denial of service.\n(CVE-2023-27783)\n\nIt was discovered that Tcpreplay incorrectly validated external input. A\nremote attacker could possibly use this issue to cause Tcpreplay to crash,\nresulting in a denial of service. (CVE-2023-27784, CVE-2023-27785,\nCVE-2023-27786, CVE-2023-27787, CVE-2023-27788, CVE-2023-27789)\n\nIt was discovered that Tcpreplay incorrectly handled memory when using the\ntcprewrite utility. An attacker could possibly use this issue to cause\nTcpreplay to crash, resulting in a denial of service. (CVE-2023-4256,\nCVE-2023-43279)\n","status":"published","published":"2025-01-28T14:49:27Z","modified":"2026-06-25T13:32:30.638934955Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
