{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d6a0e7f76611c3a6f530ee051e3e7a622bb1748c"
            }
          ],
          "repo": "https://github.com/pjsip/pjproject",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-277r-3q2j-mxcw"
  ],
  "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"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-57160",
  "modified": "2026-09-06T03:30:58.860714171Z",
  "published": "2026-09-04T17:11:29.344Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57160.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pjsip/pjproject/security/advisories/GHSA-277r-3q2j-mxcw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57160"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PJSIP: SIP message header buffer overflow"
}