CVE-2026-77396 PUBLISHED

PJSIP: Heap buffer overflow in the AVI parser

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 18.09.2026 Updated: 18.09.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor pjsip
Product pjproject
Versions
  • Version <= 2.17 is affected

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE
  • CWE-787: Out-of-bounds Write CWE