CVE-2026-77396

PJSIP: Heap buffer overflow in the AVI parser

Published Sep 18, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Teluu
Teluu pjsip
CPEs cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*
Vendors & Products Teluu
Teluu pjsip
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pjsip
Pjsip pjproject
Vendors & Products Pjsip
Pjsip pjproject
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 21, 2026, 8:49 PM
Reserved
Aug 20, 2026, 7:55 PM
Status
Analyzed
Published
Sep 18, 2026, 6:17 PM
Modified
Oct 16, 2026, 8:29 PM