Critical Buffer Overflow Vulnerability in PJProject Affects Multiple Alpine Versions

pjproject Updated 02 Oct 2025

Summary

06/10/2022
N/A
Yes i
Critical
9.8

ALPINE-CVE-2022-39244: PJSIP is a free and open source multimedia communication library written in C. Affects pjproject versions < 2.13-r0. Fixed in 2.13-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

PJProject is a free and open-source multimedia communication library written in C, widely used for building applications that require audio, video, presence, and instant messaging capabilities. It is known for its robust performance and flexibility, making it a popular choice among developers. However, a critical buffer overflow vulnerability has been identified in versions prior to 2.13, which could potentially allow attackers to exploit untrusted client connections.

Vulnerability Detail

The vulnerability arises from a buffer overflow in the PJSIP parser, PJMEDIA RTP decoder, and PJMEDIA SDP parser. This flaw can be exploited by attackers connecting to untrusted clients, leading to severe consequences such as unauthorized access, data corruption, or service disruption. The vulnerability has been assigned a CVSS score of 9.8, indicating its critical severity. The issue has been patched in version 2.13 and later, and users are strongly advised to upgrade to mitigate risks.

How To Fix

Minimum fixed version

2.13-r0

This is the first release that contains the fix.

sudo apk add --upgrade pjproject

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this issue. The best course of action is to upgrade to the patched version of the package.

Conclusion

The buffer overflow vulnerability in PJProject poses a significant risk to applications using affected versions. Users are strongly encouraged to upgrade to version 2.13-r0 or later to ensure their systems are secure. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your software.

See every vulnerability recorded for pjproject →

Share this vulnerability

FAQ

The vulnerability is a buffer overflow that affects the PJSIP parser and related components, allowing potential exploitation by untrusted clients.

All versions prior to 2.13 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application's manifest file for vulnerabilities.

While there are no workarounds available, it is crucial to prioritize upgrading to the patched version as soon as possible to mitigate risks.

Failure to address this vulnerability could lead to unauthorized access, data corruption, or service disruptions, significantly impacting your application's security and reliability.

Related vulnerabilities

Recent vulnerabilities recorded for pjproject.

How To Fix

Minimum fixed version

2.13-r0

This is the first release that contains the fix.

sudo apk add --upgrade pjproject

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback