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:55Z
Modified
2026-09-13T08:09:16Z
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 (http_client.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 on_data_read 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 on_data_read), or that only connect to trusted servers, are not affected. This issue has been patched via commit 8d5956a.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-122"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57164.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "8d5956afab2ede95ddb199078dc19a8ac0114f3d"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
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
{
    "cpe":  "cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.17"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.10
2.11
2.12
2.13
2.14
2.15
2.16
2.17

Database specific

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