Skip to main content
EPSS 0.6%top 50%

CVE-2026-57162: CWE-121: Stack-based Buffer Overflow in pjsip pjproject

0
High
Published: 09/04/2026 (09/04/2026, 18:17:00 UTC)
Source: CVE Database V5
Vendor/Project: pjsip
Product: pjproject

Description

A stack-based buffer overflow vulnerability exists in the pjsip pjproject multimedia communication library in the SRTP/SDES media transport during SDP offer/answer processing. This occurs when handling an excessive number of a=crypto attributes in a single media description, leading to a write beyond a fixed-size stack array. The flaw is reachable from an incoming SIP INVITE before authentication and affects applications with SRTP enabled using SDES keying. The vulnerability has been patched.

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
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:H/VA:H/SC:N/SI:N/SA:N

Affected software

pjsip

pjproject

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

PJSIP's pjproject library had a stack buffer overflow in the sdes_encode_sdp() function within transport_srtp_sdes.c. The issue arises because the number of a=crypto attributes from the remote SDP is not bounded when collected into a fixed-size stack array during media negotiation. A remote attacker can exploit this by sending a SIP INVITE with an excessive number of a=crypto attributes, causing a stack overflow. This can lead to application crashes or potentially control flow hijacking. The vulnerability affects only applications with SRTP enabled using SDES keying and was fixed in commit a1b707c.

Potential Impact

Exploitation can result in unexpected application termination or memory corruption, including possible control flow hijacking. The vulnerability is exploitable remotely without authentication via a crafted SIP INVITE message. Applications not using SRTP are not affected.

Mitigation Recommendations

An official patch addressing this vulnerability has been released in commit a1b707c. Users should update to the fixed version of pjproject incorporating this commit. Applications that do not enable SRTP with SDES keying are not affected and require no action.

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:47:55.284Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9afe70acd9273b49f0e671

Added to database: 09/04/2026, 17:22:56 UTC

Last enriched: 10/18/2026, 00:35:13 UTC

Last updated: 10/19/2026, 18:48:21 UTC

Views: 93

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