cve.bz

CVE-2026-57161 teluu pjsip: Stack-based Buffer Overflow

8.8 highEPSS 0.5%Fix available

High (8.8) in teluu pjsip. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
PJSIP is a free and open source multimedia communication library written in C. Prior to commit acc03b5, a stack buffer overflow exists in PJSUA when processing Service-Route headers in a registration response (update_service_route() in pjsua_acc.c). This affects applications that register using the PJSUA/PJSUA2 account API (the default registration path). The Service-Route URIs from a 2xx response to REGISTER are stored into a fixed-size array without bounding the number of headers; a registrar that returns an excessive number of Service-Route headers can write past the end of the array on the stack. The values written are internal pointers rather than arbitrary data, so the most likely impact is unexpected application termination (denial of service), though memory corruption cannot be excluded. The malicious response may come from a compromised or malicious registrar, or — over unprotected transports — a spoofed response. This issue has been patched via commit acc03b5.

Severity

CVSS 4.0

8.8 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57161?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57161 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
teluu:pjsipthrough 2.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14asteriskno fix listedDEBIAN-CVE-2026-57161
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreasteriskno fix listedUBUNTU-CVE-2026-57161
UbuntuPro:16.04:LTSasterisk, pjprojectno fix listedUBUNTU-CVE-2026-57161
UbuntuPro:18.04:LTSpjprojectno fix listedUBUNTU-CVE-2026-57161

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having an Important impact because an unauthenticated network adversary or rogue registrar can trigger a stack-based buffer overflow, causing application termination or potential memory corruption without user interaction. Red Hat Enterprise Linux does not ship the PJSIP library in its core product lines, limiting exposure primarily to community repositories such as Fedora and EPEL. Applications utilizing PJSUA account registration APIs are susceptible when communicating over untrusted networks or connecting to malicious SIP endpoints.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57161.

References

Check your stackJSON