CVE-2026-57160

Source
https://cve.org/CVERecord?id=CVE-2026-57160
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57160.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57160
Aliases
  • GHSA-277r-3q2j-mxcw
Downstream
Published
2026-09-04T17:11:29Z
Modified
2026-09-13T08:09:16Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
PJSIP: SIP message header buffer overflow
Details

PJSIP is a free and open source multimedia communication library written in C. Prior to commit d6a0e7f, a buffer overflow can occur in pjsip_generic_array_hdr_print() in pjsip/src/pjsip/sip_msg.c, the function that serializes generic array headers (such as Allow, Require, Supported, and Unsupported). Under certain output-buffer boundary conditions the function can write one byte past the end of the buffer. This is reachable mainly in applications that parse and re-serialize incoming SIP requests — for example a proxy, SBC, or B2BUA — where a remote peer can influence the serialized message. The out-of-bounds write is a single fixed byte; code execution and information disclosure are not demonstrated, and in typical pool-based allocations the byte falls within allocation slack. This issue has been patched via commit d6a0e7f.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-193"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57160.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "d6a0e7f76611c3a6f530ee051e3e7a622bb1748c"
                }
            ],
            "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-57160.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "5434104621415687251606328495423295223",
            "length":  533
        },
        "id":  "CVE-2026-57160-0439ec88",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c",
        "target":  {
            "file":  "pjsip/src/pjsip/sip_msg.c",
            "function":  "pjsip_generic_array_hdr_print"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "116359439177961549992432007602848539404",
                "212737935560391470066728939625239896501",
                "251674926804066843344451459722842450083",
                "187189012972722890140474891116942022516",
                "197545521112868063818116230850255992005"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-57160-59e2465e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c",
        "target":  {
            "file":  "pjsip/src/pjsip/sip_msg.c"
        }
    }
]
vanir_signatures_modified
"2026-09-13T08:09:16Z"