CVE-2026-57164

Source
https://cve.org/CVERecord?id=CVE-2026-57164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57164
Aliases
  • GHSA-59fr-724j-6fjv
Downstream
Published
2026-09-04T17:11:55.615Z
Modified
2026-09-06T08:07:53.096507Z
Severity
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
PJSIP: Heap overflow in the HTTP client
Details

PJSIP is a free and open source multimedia communication library written in C. Prior to commit 8d5956a, a heap buffer overflow exists in the PJLIB-UTIL HTTP client (httpclient.c) when buffering an HTTP response body. This affects applications that use the PJLIB-UTIL HTTP client to receive a whole response body at once (a completion callback with no incremental ondataread callback). When growing the response buffer, an incorrect size calculation based on the server-supplied Content-Length can leave the buffer too small, causing response data to be written past the end of the allocation. A malicious or man-in-the-middle HTTP server can trigger this with a crafted response; impact may range from unexpected application termination to memory corruption. Applications that consume the response incrementally (via ondata_read), or that only connect to trusted servers, are not affected. This issue has been patched via commit 8d5956a.

Database specific
{
    "cwe_ids": [
        "CWE-122"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57164.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "8d5956afab2ede95ddb199078dc19a8ac0114f3d"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/pjsip/pjproject

Affected ranges

Type
GIT
Repo
https://github.com/pjsip/pjproject
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

2.*
2.10
2.11
2.12
2.13
2.14
2.15
2.16
2.17

Database specific

vanir_signatures
[
    {
        "target": {
            "function": "http_on_data_read",
            "file": "pjlib-util/src/pjlib-util/http_client.c"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2026-57164-22e9d997",
        "source": "https://github.com/pjsip/pjproject/commit/8d5956afab2ede95ddb199078dc19a8ac0114f3d",
        "signature_version": "v1",
        "digest": {
            "length": 3725.0,
            "function_hash": "214541690598800998536290353957875407790"
        }
    },
    {
        "target": {
            "file": "pjlib-util/src/pjlib-util/http_client.c"
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2026-57164-a22fb725",
        "source": "https://github.com/pjsip/pjproject/commit/8d5956afab2ede95ddb199078dc19a8ac0114f3d",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "137543685050122439724999872212375400912",
                "2494486348286742380891581113040932761",
                "286854764227399285690492889894235428053",
                "6035963868782257508331546674252055762",
                "247429561208810019162673856907766920026",
                "144702225815282777803231610371184722353",
                "3620397476658072614751358476071406598",
                "329913402073700800012820600253179299088",
                "56747742840183555461168730481574511338",
                "170034610624574293666874595910680233558",
                "159420505966957940895531258477231860341"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57164.json"
vanir_signatures_modified
"2026-09-06T08:07:53Z"