CVE-2026-57165

Source
https://cve.org/CVERecord?id=CVE-2026-57165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57165
Aliases
  • GHSA-rpq9-9fx7-95xw
Downstream
Published
2026-09-04T17:12:01.043Z
Modified
2026-09-06T08:07:53.403059Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
PJSIP: Pre-authentication overflow in the telnet CLI history
Details

PJSIP is a free and open source multimedia communication library written in C. Prior to commit 628b716, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI front-end when redrawing the command line during history recall (handleupdown() in cli_telnet.c). This affects only applications that enable the telnet CLI front-end (same gating as the related CLI issue). The line-redraw sequence for a recalled history entry can accumulate more data than a fixed-size stack buffer holds, which may lead to application termination. Exploitation requires access to the unauthenticated telnet CLI, which already permits arbitrary CLI commands, so the additional impact is limited. Applications that do not enable the telnet CLI front-end are not affected. This issue has been patched via commit 628b716.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57165.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "628b71638465bacf66e767959e6acbab822eccd6"
                }
            ],
            "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
{
    "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": "handle_up_down",
            "file": "pjlib-util/src/pjlib-util/cli_telnet.c"
        },
        "digest": {
            "length": 1004.0,
            "function_hash": "230153404098839477147474671022948648179"
        },
        "deprecated": false,
        "source": "https://github.com/pjsip/pjproject/commit/628b71638465bacf66e767959e6acbab822eccd6",
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2026-57165-79034f5c"
    },
    {
        "target": {
            "file": "pjlib-util/src/pjlib-util/cli_telnet.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "248957660997990087492766661331718269659",
                "209554167420989336214571488895433234875",
                "149355330879475642341671326585397168031",
                "284367094536187926761375920851228879202",
                "86562622730657850290035364722393018122",
                "208952625014383765077831165557834981904",
                "187375606633372462476377327581593618840",
                "215759533589950491922499217362088732206",
                "271286602751133839508255614643323276822",
                "322670979946754768616121377545320599452",
                "306352931179527432554455771468015225881",
                "332910657099142991791754436588958577814",
                "192112678248707177291987010413092762997",
                "44723199457921538242316707026445443675",
                "241086724115489406732825693434927102429",
                "122982953426277579730106014486555649431",
                "286617045228964538300619962325172846324"
            ]
        },
        "deprecated": false,
        "source": "https://github.com/pjsip/pjproject/commit/628b71638465bacf66e767959e6acbab822eccd6",
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2026-57165-7ddda196"
    }
]
vanir_signatures_modified
"2026-09-06T08:07:53Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57165.json"