Bug 2531076 - CVE-2026-57159 asterisk: SDP parser out-of-bounds write in remote payload-type map maintenance [fedora-all]
Summary: CVE-2026-57159 asterisk: SDP parser out-of-bounds write in remote payload-typ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: asterisk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["7555d253-04bd-4216-bec0-9...
Depends On:
Blocks: CVE-2026-57159
TreeView+ depends on / blocked
 
Reported: 2026-09-09 17:24 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-11 19:56 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-09-09 17:24:59 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 673b978, a remote out-of-bounds read and write can occur in the SDP negotiator when the remote payload-type map maintenance feature is enabled. assign_pt_and_update_map() in pjmedia/src/pjmedia/sdp_neg.c uses payload-type numbers taken from a remote SDP offer or answer to index fixed-size internal tables without sufficient bounds validation, so a crafted remote SDP can cause memory access outside those tables. The practical impact is memory corruption and denial of service; code execution is not demonstrated. This path is only reached when PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP is enabled. The default is disabled, so default builds are not affected; the feature is an interoperability option that integrating products may enable. This issue has been patched via commit 673b978.

Comment 1 Peter Lemenkov 2026-09-11 19:48:44 UTC
Not applicable to Asterisk as built here.

This is an out-of-bounds read and write in the SDP negotiator, assign_pt_and_update_map() in pjmedia/src/pjmedia/sdp_neg.c. The upstream advisory states that this path is only reached when PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP is enabled, and that the default is disabled so default builds are not affected.

Asterisk's bundled pjproject does not define PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP in third-party/pjproject/patches/config_site.h, so it is left at its default of disabled.

Fixed upstream in pjproject commit 673b978.

Comment 2 Peter Lemenkov 2026-09-11 19:56:48 UTC
Closing as NOTABUG per the analysis above — the vulnerable path is gated behind PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP, which Asterisk leaves at its default of disabled.

As with the other pjproject CVEs in this batch, this is a reachability determination rather than the code being absent: the affected function is still compiled into the bundled library. It would need revisiting if Asterisk enabled that option.


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