CVE Explorer
CVE-2026-40614
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 opu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pjproject","vendor":"pjsip","versions":[{"status":"affected","version":"<= 2.16"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f4fedf41b7bba2f8acecac6e20f119296ef735ccfa88e9a5a064823b948522fa · sha256:93d49bf26c31f587… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f4fedf41b7bba2f8acecac6e20f119296ef735ccfa88e9a5a064823b948522fa · sha256:93d49bf26c31f587… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f4fedf41b7bba2f8acecac6e20f119296ef735ccfa88e9a5a064823b948522fa · sha256:93d49bf26c31f587… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/pjsip/pjproject/commit/17897e835818f8ee03b1806ddcd7b95ea16d2c0e","tags":["x_refsource_MISC"],"url":"https://github.com/pjsip/pjproject/commit/17897e835818f8ee03b1806ddcd7b95ea16d2c0e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f4fedf41b7bba2f8acecac6e20f119296ef735ccfa88e9a5a064823b948522fa · sha256:93d49bf26c31f587… · /containers/cna/references/1
{"name":"https://github.com/pjsip/pjproject/security/advisories/GHSA-j59p-4xrr-fp8g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-j59p-4xrr-fp8g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f4fedf41b7bba2f8acecac6e20f119296ef735ccfa88e9a5a064823b948522fa · sha256:93d49bf26c31f587… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.