Skip to content
Heist/ feed
UnratedFix available

ALPINE-CVE-2026-40614

Type: advisorySource: OSV1 source record

PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is a buffer overflow when decoding Opus audio frames due to insufficient buffer size validation in the Opus codec decode path. The FEC decode buffers (dec_frame[].buf) were allocated based on a PCM-derived formula: (sample_rate/1000) * 60 * channel_cnt * 2. At 8 kHz mono this yields only 960 bytes, but codec_parse() can output encoded frames up to MAX_ENCODED_PACKET_SIZE (1280) bytes via opus_repacketizer_out_range(). The three pj_memcpy() calls in codec_decode() copied input->size bytes without bounds checking, causing a heap buffer overflow.

Announced Group revision 1
Original source ↗

ALPINE-CVE-2026-40614

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:ALPINE-CVE-2026-40614

pjproject

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
2.17-r0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.17-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "pjproject",
      "purl": "pkg:apk/alpine/pjproject?arch=source",
      "ecosystem": "Alpine:v3.24"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40614.json"
    },
    "ecosystem_specific": {}
  }
]

Publisher severity

No explicit severity was provided.

Event
#54346 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement