CVE-2026-57160 PUBLISHED

PJSIP: SIP message header buffer overflow

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 04.09.2026 Updated: 04.09.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor pjsip
Product pjproject
Versions
  • Version < d6a0e7f76611c3a6f530ee051e3e7a622bb1748c is affected

References

Problem Types

  • CWE-193: Off-by-one Error CWE