CVE-2026-57160: CWE-193: Off-by-one Error in pjsip pjproject
Description
CVE-2026-57160 is an off-by-one buffer overflow vulnerability in the pjsip_generic_array_hdr_print() function of the pjsip pjproject library. This function serializes generic array headers in SIP messages. The flaw allows writing one byte past the end of the output buffer under certain boundary conditions, mainly affecting applications that parse and re-serialize SIP requests. The vulnerability has been patched.
CVSS v4.0
Score 6.9medium
Affected software
pjsip
pjproject
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PJSIP is an open source multimedia communication library written in C. Prior to commit d6a0e7f, the function pjsip_generic_array_hdr_print() in pjsip/src/pjsip/sip_msg.c could write one byte beyond the allocated buffer when serializing generic array headers such as Allow, Require, Supported, and Unsupported. This off-by-one error is reachable primarily in applications like proxies, SBCs, or B2BUAs that handle incoming SIP requests and re-serialize them, where a remote peer can influence the serialized message. The out-of-bounds write is limited to a single byte and does not demonstrate code execution or information disclosure. Typically, the extra byte falls within allocation slack in pool-based memory allocations. The issue was fixed in commit d6a0e7f.
Potential Impact
The vulnerability allows a single byte to be written out-of-bounds in the output buffer during SIP message serialization. Although code execution and information disclosure have not been demonstrated, the flaw could potentially lead to memory corruption in affected applications that parse and re-serialize SIP requests. The impact is considered medium severity based on the CVSS score of 6.9.
Mitigation Recommendations
An official fix is available and was applied in commit d6a0e7f. Users and maintainers of pjsip pjproject should update to the patched version containing this commit to remediate the vulnerability. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-24T01:45:48.698Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9afe70acd9273b49f0e66b
Added to database: 09/04/2026, 17:22:56 UTC
Last enriched: 10/18/2026, 00:35:19 UTC
Last updated: 10/18/2026, 18:48:22 UTC
Views: 79
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.