CVE-2025-9157

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-9157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-9157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-9157
Downstream
Related
Published
2025-08-19T20:15:37.310Z
Modified
2025-11-17T02:13:11.910240Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

A vulnerability was determined in appneta tcpreplay up to 4.5.2-beta2. The impacted element is the function untruncpacket of the file src/tcpedit/editpacket.c of the component tcprewrite. Executing manipulation can lead to use after free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. This patch is called 73008f261f1cdf7a1087dc8759115242696d35da. Applying a patch is advised to resolve this issue.

References

Affected packages

Git / github.com/appneta/tcpreplay

Affected ranges

Type
GIT
Repo
https://github.com/appneta/tcpreplay
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

help

v3.*

v3.4.2
v3.4.3
v3.4.4

v4.*

v4.0.0
v4.0.0beta1
v4.0.0beta2
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.5beta1
v4.0.5beta2
v4.0.5beta3
v4.1.0
v4.1.0beta1
v4.1.0beta2
v4.1.1
v4.1.1-beta2
v4.1.1-beta3
v4.1.2
v4.2.0
v4.2.0-beta1
v4.2.1
v4.2.2
v4.2.2-beta1
v4.2.3
v4.2.4
v4.2.5
v4.2.5-beta1
v4.2.6
v4.3.0
v4.3.0-beta1
v4.3.0-beta2
v4.3.1
v4.3.2
v4.3.3
v4.3.3-beta1
v4.3.4
v4.3.4-beta1
v4.3.4-rc1
v4.4.0
v4.4.1
v4.4.2
v4.4.2-beta1
v4.4.3
v4.4.4
v4.5.0-beta1
v4.5.0-beta2
v4.5.0-beta3
v4.5.1

Database specific

vanir_signatures

[
    {
        "digest": {
            "function_hash": "328974087607412167336739022779689300187",
            "length": 635.0
        },
        "target": {
            "file": "src/common/sendpacket.h",
            "function": "kick_tx"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-02b2c0e6",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Function"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "19628962945387001136090884324675050071",
                "113063468747715974689397983761155799458",
                "101940827274302632927073457419324534871",
                "66348440111304200964489554960775311010"
            ]
        },
        "target": {
            "file": "src/common/sendpacket.h"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-0e30c689",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "218537400204354682112518451400835951551",
            "length": 1925.0
        },
        "target": {
            "file": "src/tcpedit/edit_packet.c",
            "function": "untrunc_packet"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-19ae82a7",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Function"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "311638448632200243448626576368432857809",
                "262969340522840702234456712089739320088",
                "29032276265835153425650451824912449775",
                "304385322920033473258116721690707467852"
            ]
        },
        "target": {
            "file": "src/tcpedit/edit_packet.c"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-7e369ec4",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "68992610171752203025817196903415234098",
            "length": 2403.0
        },
        "target": {
            "file": "src/tcprewrite.c",
            "function": "rewrite_packets"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-a5284362",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Function"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91237455740800186492158709295618978963",
                "248279307656741066594751877305855593064",
                "263934966825246672697957659366178751789",
                "212386188721125584022658031331624949494"
            ]
        },
        "target": {
            "file": "src/tcprewrite.c"
        },
        "signature_version": "v1",
        "id": "CVE-2025-9157-d477aff5",
        "deprecated": false,
        "source": "https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da",
        "signature_type": "Line"
    }
]