Skip to main content
EPSS 0.4%top 66%

CVE-2026-57160: CWE-193: Off-by-one Error in pjsip pjproject

0
Medium
Published: 09/04/2026 (09/04/2026, 18:17:00 UTC)
Source: CVE Database V5
Vendor/Project: pjsip
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

pjsip

pjproject

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:35:19 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses