Skip to main content

PJSIP CVE-2026-41416

| EUVDEUVD-2026-25598 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-04-24 GitHub_M
8.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send SIP INVITE with crafted SDP
  2. Delivery
    Trigger integer overflow in ptime calculation
  3. Exploit
    Allocate undersized media buffer
  4. Execution
    Process RTP stream
  5. Persist
    Corrupt heap memory
  6. Impact
    Execute arbitrary code or crash service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Vulnerability triggers when PJSIP processes SDP with asymmetric ptime attributes during SIP session establishment. No special conditions required - remote unauthenticated exploitation against default configurations of PJSIP-based services accepting SIP calls from untrusted networks. Attack succeeds against any PJSIP deployment listening on network interfaces reachable by attacker (internet-facing SIP servers, peer-to-peer VoIP applications, or internal networks if attacker has network access). Exploitation NOT LIMITED by: user interaction (automated SDP parsing), authentication (occurs pre-authentication in SIP INVITE processing), or non-default features (core SDP handling always active). Limiting factors include: SIP proxies or session border controllers performing strict SDP validation may reject malformed ptime values before reaching vulnerable backend; deployments accepting calls only from authenticated/registered endpoints reduce attack surface to compromised accounts; containerized or sandboxed VoIP applications limit post-exploitation impact through privilege separation.

Impact

Real-world risk is HIGH for internet-facing PJSIP deployments despite absence of confirmed exploitation. CVSS 4.0 score of 8.1 with vector AV:N/AC:L/PR:N/UI:N indicates trivial remote exploitation requiring no user interaction or authentication - attackers need only send crafted SDP in SIP INVITE messages. The E:U (Exploit Maturity Unproven) component suggests no public exploit at analysis time, reducing immediate risk. However, PJSIP's ubiquitous deployment in VoIP phones, PBX systems (FreePBX/Asterisk with PJSIP channel driver), WebRTC gateways, and IoT devices creates massive attack surface. Integer overflow vulnerabilities in C memory allocation are well-understood primitives with established exploitation techniques. The straightforward trigger (malformed SDP) and network reachability make this highly automatable once weaponized. EPSS data not provided but would likely score moderate-to-high given attack vector characteristics. Critical distinguishing factor: vendor patch available (version 2.17) means this transitions from vulnerability management to patch deployment urgency. Organizations using PJSIP in internet-facing roles (SIP trunking, WebRTC services) should prioritize upgrade; those with perimeter SIP proxies performing SDP validation have reduced exposure but not elimination of risk.

Exploit ScenarioDerived

Attacker sends SIP INVITE message to vulnerable PJSIP-based VoIP server containing crafted SDP offer with asymmetric ptime configuration designed to trigger integer overflow (e.g., ptime:20 in one direction, ptime:4294967280 in reverse, causing wraparound in multiplication). PJSIP parses SDP, calculates media buffer size using overflowed arithmetic, allocates undersized heap buffer. When call proceeds to media phase and RTP packets arrive, buffer overflow corrupts adjacent heap metadata or function pointers, enabling remote code execution as the VoIP service user or crashing the application for denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Integer overflow in PJSIP 2.16 and earlier enables remote unauthenticated attackers to trigger memory corruption or application crashes via malicious SDP packets with asymmetric ptime values. The vulnerability causes undersized buffer allocation during media stream processing, creating conditions for memory corruption with potential code execution or denial of service. Fixed in version 2.17 with no public exploit identified at time of analysis, though CVSS 8.1 and network attack vector indicate significant risk for internet-facing VoIP/multimedia applications.

RemediationAI

Upgrade PJSIP library to version 2.17 or later, which contains the fix committed in https://github.com/pjsip/pjproject/commit/66fe416c96e957417621b7be16e9e587d159f9bb. For embedded applications, rebuild with patched library and redeploy firmware. Organizations unable to immediately upgrade should implement SDP normalization at SIP proxy/SBC layer: reject or rewrite SDP offers containing asymmetric ptime attributes (different sendonly/recvonly ptime values) or ptime values exceeding reasonable bounds (>200ms). This workaround degrades call compatibility with non-standard endpoints but blocks the overflow trigger. Additional compensating control: restrict SIP access to authenticated peers via firewall rules (block UDP/TCP 5060-5061 from internet, allow only known trunking partners), reducing attack surface from internet-wide to trusted networks. Note this mitigation breaks open SIP services and peer-to-peer calling scenarios. Network-based IDS/IPS can detect anomalous ptime values in SDP, but evasion via encoding variations limits effectiveness. For Asterisk deployments, verify chan_pjsip module version and follow Asterisk security advisories for bundled PJSIP updates.

Affected VersionsENISA

pjproject < 2.17

Affected Packages

euvd pjproject fix: 2.17

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PJSIP (PJPROJECT) is a widely-deployed open-source multimedia communication library written in C, providing SIP protocol stack, media transport (RTP/RTCP), and codec framework for VoIP applications. The vulnerability (CWE-190: Integer Overflow) occurs during SDP (Session Description Protocol) parsing when calculating media stream buffer sizes. SDP's ptime attribute specifies packet duration in milliseconds, and asymmetric configurations (different ptime values for send/receive) trigger an integer overflow in the buffer size arithmetic. This overflow wraps to a small positive value, causing malloc/buffer allocation with insufficient space. Subsequent media stream operations write beyond allocated boundaries, creating classic heap corruption conditions. The affected component handles network-received SDP during session negotiation, making it reachable from remote callers without authentication in typical SIP/VoIP deployments.

Know when Pjsip gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 18:30 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
CVSS changed
Apr 24, 2026 - 19:22 NVD
8.1 (HIGH)
CVE Published
Apr 24, 2026 - 18:40 nvd
HIGH 8.1

DescriptionCVE.org

PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is an integer overflow in media stream buffer size calculation when processing SDP with asymmetric ptime configuration. The overflow may result in an undersized buffer allocation, which can lead to unexpected application termination or memory corruption This vulnerability is fixed in 2.17.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in Pjsip

View all
CVE-2021-43845 CRITICAL POC
9.1 Dec 27

PJSIP is a free and open source multimedia communication library. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2021-21375 MEDIUM POC
6.5 Mar 10

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2017-16872 CRITICAL
9.8 Nov 17

An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Rated critical severity (CVSS 9

CVE-2026-25994 CRITICAL POC
9.8 Feb 11

Buffer overflow in PJSIP multimedia library version 2.16 and earlier in PJNATH ICE implementation. Patch available. Affe

CVE-2026-32945 CRITICAL
9.8 Mar 20

Heap overflow in PJSIP 2.16 and earlier DNS parser allows unauthenticated remote attackers to achieve code execution wit

CVE-2023-38703 CRITICAL
9.8 Oct 06

PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, a

CVE-2022-23547 CRITICAL
9.8 Dec 23

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-23537 CRITICAL
9.8 Dec 20

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-39244 CRITICAL
9.8 Oct 06

PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this

CVE-2022-31031 CRITICAL
9.8 Jun 09

PJSIP is a free and open source multimedia communication library written in C language implementing standard based proto

CVE-2022-24786 CRITICAL
9.8 Apr 06

PJSIP is a free and open source multimedia communication library written in C. Rated critical severity (CVSS 9.8), this

CVE-2022-24754 CRITICAL
9.8 Mar 11

PJSIP is a free and open source multimedia communication library written in C language. Rated critical severity (CVSS 9.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy