Description
PJSIP is a free and open source multimedia communication library written in C. In 2.17 and earlier, the PJSIP AVI parser in pjmedia/src/pjmedia/avi_player.c uses an input-file video chunk length as the number of bytes copied into a frame buffer whose capacity is derived from the declared media dimensions. A crafted AVI file can therefore cause an attacker-controlled out-of-bounds write past the heap allocation when an application plays the file or pulls its frames. The existing size assertion does not protect production release builds, where assertions are disabled. Typical local playback can crash the process, while applications that accept untrusted AVI sources expose a stronger memory-corruption condition. No fixed version is available as of this review.
Published: 2026-09-18
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap buffer overflow leading to arbitrary memory corruption
Action: Upgrade
AI Analysis

Impact

The flaw occurs when the PJMEDIA AVI parser copies the size of a video chunk into a frame buffer whose capacity is derived from declared media dimensions. An attacker can craft an AVI file with an oversized length field, causing an out‑of‑bounds write on the heap. This results in a classic heap buffer overflow (CWE‑122) and can lead to arbitrary memory corruption, potentially crashing the application or allowing an attacker to gain additional privileges. No fix is available for the affected releases, so the defect remains active.

Affected Systems

Applications built with pjproject 2.17 or earlier are affected. Any system that links to these versions and processes AVI files, particularly untrusted files, is at risk. This includes media players, VoIP, or other multimedia services that use pjproject for AVI handling.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity incident. EPSS data is not available, so exploit probability is unquantified. The vulnerability is not listed as a known exploited vulnerability in CISA KEV. The likely attack vector is the execution of an attacker‑crafted AVI file—either locally or sent through a remote interface that accepts such media. In production builds, the safety assertion is disabled, so the flaw is active and can be exploited when the crafted file is parsed, leading to a memory‑corruption condition that could be leveraged for denial of service or escalated attacks.

Generated by OpenCVE AI on September 19, 2026 at 12:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a pjproject release newer than 2.17 when it becomes available
  • Prevent the application from processing untrusted AVI files; implement input validation or deny access to the AVI parsing routine from unprivileged sources
  • Apply system hardening such as enabling ASLR, stack canaries, and limiting privileges to minimize the impact of a potential overflow

Generated by OpenCVE AI on September 19, 2026 at 12:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Description PJSIP is a free and open source multimedia communication library written in C. In 2.17 and earlier, the PJSIP AVI parser in pjmedia/src/pjmedia/avi_player.c uses an input-file video chunk length as the number of bytes copied into a frame buffer whose capacity is derived from the declared media dimensions. A crafted AVI file can therefore cause an attacker-controlled out-of-bounds write past the heap allocation when an application plays the file or pulls its frames. The existing size assertion does not protect production release builds, where assertions are disabled. Typical local playback can crash the process, while applications that accept untrusted AVI sources expose a stronger memory-corruption condition. No fixed version is available as of this review.
Title PJSIP: Heap buffer overflow in the AVI parser
Weaknesses CWE-122
CWE-787
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-18T17:07:50.209Z

Reserved: 2026-08-20T19:55:27.023Z

Link: CVE-2026-77396

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-18T18:17:14.663

Modified: 2026-09-18T18:17:14.663

Link: CVE-2026-77396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T12:15:17Z

Weaknesses