Read the docs
TI-2026-41133 Aliases CVE-2026-57164

PJSIP: Heap overflow in the HTTP client

Priority MEDIUM 42CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

PJSIP is a free and open source multimedia communication library written in C. Prior to commit 8d5956a, a heap buffer overflow exists in the PJLIB-UTIL HTTP client (http_client.c) when buffering an HTTP response body. This affects applications that use the PJLIB-UTIL HTTP client to receive a whole response body at once (a completion callback with no incremental on_data_read callback). When growing the response buffer, an incorrect size calculation based on the server-supplied Content-Length can leave the buffer too small, causing response data to be written past the end of the allocation. A malicious or man-in-the-middle HTTP server can trigger this with a crafted response; impact may range from unexpected application termination to memory corruption. Applications that consume the response incrementally (via on_data_read), or that only connect to trusted servers, are not affected. This issue has been patched via commit 8d5956a.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00451 39th percentileScored 2026-11-07
Fix Fixed pjproject (pjsip): 8d5956afab2ede95ddb199078dc19a8ac0114f3d

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pjsippjprojectbefore 8d5956afab2ede95ddb199078dc19a8ac0114f3d8d5956afab2ede95ddb199078dc19a8ac0114f3dPatch availableCNA
  • pjproject Vendorpjsip Affected before 8d5956afab2ede95ddb199078dc19a8ac0114f3d Fixed in 8d5956afab2ede95ddb199078dc19a8ac0114f3d Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*up to 2.17Vulnerableteluu
  • cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:* Versions up to 2.17 Vulnerable ·teluu

Remediation

  • Fix · CNA pjproject (pjsip) Fixed in 8d5956afab2ede95ddb199078dc19a8ac0114f3d

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-57164

References

  • TI-2022-13076 Potential stack buffer overflow when parsing message as a STUN client CVSS 3.1CRITICAL 9.8
  • TI-2022-08599 Potential out-of-bound read/write in PJSIP CVSS 3.1CRITICAL 9.8
  • TI-2023-20051 PJSIP has use-after-free vulnerability in SRTP media transport CVSS 3.1CRITICAL 9.8
  • TI-2022-06096 Out-of-bounds read in multipart parsing in PJSIP CVSS 3.1CRITICAL 9.1
  • TI-2022-07661 Use after free in PJSIP CVSS 3.1CRITICAL 9.8
  • TI-2022-06095 Potential out-of-bound read during RTP/RTCP parsing in PJSIP CVSS 3.1CRITICAL 9.1
See all 48 →

Sources