Bug 2531085 - CVE-2026-57161 asterisk: stack overflow handling Service-Route headers in a registration response [epel-all]
Summary: CVE-2026-57161 asterisk: stack overflow handling Service-Route headers in a r...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: asterisk
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: EPEL Packagers SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["09418bf5-eae8-4b71-ae97-a...
Depends On:
Blocks: CVE-2026-57161
TreeView+ depends on / blocked
 
Reported: 2026-09-09 17:26 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-11 19:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-11 19:57:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-09-09 17:26:23 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Peter Lemenkov 2026-09-11 19:49:17 UTC
Not applicable to Asterisk.

This is a stack buffer overflow in update_service_route() in pjsua_acc.c. The upstream advisory states it affects applications that register using the PJSUA/PJSUA2 account API.

Asterisk does not use PJSUA. It builds on the lower-level PJSIP API directly, and there are no references to the PJSUA account API anywhere in the Asterisk source tree.

Fixed upstream in pjproject commit acc03b5. Same determination as the Fedora tracker, bug 2531084.

Comment 2 Peter Lemenkov 2026-09-11 19:57:09 UTC
Closing as NOTABUG per the analysis above — the flaw is in the PJSUA account API, which Asterisk does not use.

As with the other pjproject CVEs in this batch, this is a reachability determination rather than the code being absent: pjsua_acc.c is still compiled into the bundled library. It would need revisiting if Asterisk adopted the PJSUA API.


Note You need to log in before you can comment on or make changes to this bug.