Skip to main content
EPSS 0.5%top 62%

CVE-2026-57164: CWE-122: Heap-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 heap-based buffer overflow vulnerability exists in the PJLIB-UTIL HTTP client component of pjsip pjproject prior to commit 8d5956a. The flaw occurs when buffering an entire HTTP response body at once, due to incorrect size calculation based on the Content-Length header, potentially allowing memory corruption or application crashes. Applications that process response data incrementally or connect only to trusted servers are not affected. This issue has been patched in commit 8d5956a.

CVSS v4.0

Score 8.3high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
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:P/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:07 UTC

Technical Analysis

PJSIP pjproject contains a heap buffer overflow in the PJLIB-UTIL HTTP client (http_client.c) when buffering a complete HTTP response body in one operation without incremental processing. The vulnerability arises from an incorrect buffer size calculation using the server-supplied Content-Length header, which can cause the buffer to be undersized and lead to writing beyond allocated memory. A malicious or man-in-the-middle HTTP server can exploit this by sending a crafted response. The impact ranges from application crashes to memory corruption. The issue was fixed in commit 8d5956a.

Potential Impact

Exploitation can lead to unexpected application termination or memory corruption, which may affect the stability and security of applications using the vulnerable PJLIB-UTIL HTTP client. The vulnerability requires an attacker to control or intercept HTTP responses to trigger the overflow. Applications that process response data incrementally or connect only to trusted servers are not vulnerable.

Mitigation Recommendations

This vulnerability has been patched in commit 8d5956a. Users and developers should update to the fixed version incorporating this commit. Applications that consume HTTP responses incrementally or restrict connections to trusted servers are not affected. No additional mitigation is required if the patch is applied.

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: 6a9afe70acd9273b49f0e675

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

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

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

Views: 87

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