Skip to content
Heist/ feed
Back to feed
Medium

tcpreplay — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-9019

A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that "[i]n that case, this is a duplicate that was fixed in 4.5.2."

Products
tcpreplay
Affected 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, 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, 4.3.2-1build1, 4.3.2-1ubuntu0.1~esm1, 4.3.2-1ubuntu0.1~esm2, 4.3.2-1ubuntu0.1~esm3, 4.3.3-2, 4.3.4-1, 4.3.4-1ubuntu0.1~esm1, 4.3.4-1ubuntu0.1~esm2, 4.4.3-1, 4.4.4-1, 4.4.4-1build1, 4.4.4-1build2, 4.4.4-1ubuntu0.1~esm1, 4.5.1-1, 4.5.2-1, 4.5.2-1build1, 4.5.4-1
Fixed versions
Not specified
CVEs
CVE-2025-9019
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:52 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-9019

core-osv · Original source

Published 15 Aug 2025, 07:15 UTC

A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that "[i]n that case, this is a duplicate that was fixed in 4.5.2."

osv:UBUNTU-CVE-2025-9019

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

tcpreplay

Fixed versions: Not specified

Complete source record
{
  "id": "5b854fdd6871c3d2f41499d225609f3331a40290066cdfb5eea1ae60bf648101",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-9019",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-9019",
    "summary": "A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that \"[i]n that case, this is a duplicate that was fixed in 4.5.2.\"",
    "evidence": "osv:UBUNTU-CVE-2025-9019",
    "products": [
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.4.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.4-2+deb8u1build0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.4-2+deb8u1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.4-2+deb8u1ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.4-2+deb8u1ubuntu0.1~esm3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.2.6-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.2.6-1ubuntu0.1~esm2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.2.6-1ubuntu0.1~esm3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.2.6-1ubuntu0.1~esm4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.2.6-1ubuntu0.1~esm5",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.2-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.3.2-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.3.2-1ubuntu0.1~esm2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.3.2-1ubuntu0.1~esm3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.3-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.4-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.4-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.4-1ubuntu0.1~esm2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.3-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.4.4-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.4.4-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.4.4-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.4.4-1ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.1-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.5.2-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.2-1build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.5.4-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tcpreplay",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.2-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.5.2-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-9019",
      "aliases": [
        "UBUNTU-CVE-2025-9019"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "3.4.4-2+deb8u1ubuntu0.1~esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.2.6-1ubuntu0.1~esm5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "4.3.2-1build1",
            "4.3.2-1ubuntu0.1~esm1",
            "4.3.2-1ubuntu0.1~esm2",
            "4.3.2-1ubuntu0.1~esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.3.2-1ubuntu0.1~esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "4.3.3-2",
            "4.3.4-1",
            "4.3.4-1ubuntu0.1~esm1",
            "4.3.4-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.3.4-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "4.4.3-1",
            "4.4.4-1",
            "4.4.4-1build1",
            "4.4.4-1build2",
            "4.4.4-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.4.4-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.5.1-1",
            "4.5.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.5.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.5.2-1build1",
            "4.5.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.5.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tcpreplay",
            "purl": "pkg:deb/ubuntu/tcpreplay?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.5.2-1",
            "4.5.2-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tcpreplay",
                "binary_version": "4.5.2-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:38.104506468Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-9019"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-9019",
        "https://www.cve.org/CVERecord?id=CVE-2025-9019",
        "https://github.com/appneta/tcpreplay/issues/958",
        "https://github.com/appneta/tcpreplay/issues/959",
        "https://drive.google.com/file/d/13SQYVIb_YQoRfaJaaLf6iLtMiCRCHlBc/view?usp=sharing",
        "https://github.com/appneta/tcpreplay/issues/958#issuecomment-3124876035",
        "https://vuldb.com/?ctiid.320080",
        "https://vuldb.com/?id.320080",
        "https://vuldb.com/?submit.623635",
        "https://vuldb.com/?submit.623636",
        "https://vuldb.com/?submit.623637",
        "https://vuldb.com/?submit.623638",
        "https://vuldb.com/?submit.623639"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-9019",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 359693,
  "published_at": "2025-08-15T07:15:00+00:00"
}