Description
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.
Published: 2026-09-04
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A 1‑byte buffer overflow occurs in pjsip_generic_array_hdr_print() when serializing generic SIP headers such as Allow, Require, Supported, and Unsupported. The malformed write does not lead to code execution or information disclosure; it merely corrupts one byte of memory, which in typical pool allocations falls within slack space. The effect is limited to potential message corruption or a crash, thereby creating a possible denial of service scenario.

Affected Systems

The flaw exists in the PJProject library (pjsip) prior to commit d6a0e7f. Any application that parses incoming SIP requests and then re‑serializes them—such as proxies, session border controllers, or back‑to‑back units—using an affected build of the library is impacted. No specific vendor version numbers are listed, so all releases before the mentioned commit are vulnerable.

Risk and Exploitability

The CVSS score of 6.9 denotes moderate severity. No EPSS data is available and the vulnerability is not listed in the CISA KEV catalog. The attack can be performed remotely by sending crafted SIP requests that influence the re‑serialization process, but only a single, non‑exploitable byte is overwritten. As a result, the risk is primarily toward service availability rather than confidentiality or integrity.

Generated by OpenCVE AI on September 4, 2026 at 19:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a version of PJProject that includes commit d6a0e7f or later, which applies the necessary boundary check.
  • If an immediate upgrade is not possible, validate or sanitize outgoing SIP message headers to ensure they do not exceed expected lengths and implement additional bounds checks around the serialization routine.
  • Deploy SIP traffic filtering or rate‑limiting measures to detect and block abnormal request patterns that could trigger malformed serialization.

Generated by OpenCVE AI on September 4, 2026 at 19:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Pjsip
Pjsip pjproject
Vendors & Products Pjsip
Pjsip pjproject

Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description 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.
Title PJSIP: SIP message header buffer overflow
Weaknesses CWE-193
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T17:11:29.344Z

Reserved: 2026-06-24T01:45:48.698Z

Link: CVE-2026-57160

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T18:17:53.740

Modified: 2026-09-04T18:17:53.740

Link: CVE-2026-57160

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T21:30:07Z

Weaknesses