Skip to content
OpenAdvisories
High · 8.5 CVE-2022-24754 EUVD-2022-29587

Buffer overflow in pjsip

Published Mar 11, 2022 · Updated Nov 4, 2025 · Assigned by GitHub_M

Description

PJSIP is a free and open source multimedia communication library written in C language. In versions prior to and including 2.12 PJSIP there is a stack-buffer overflow vulnerability which only impacts PJSIP users who accept hashed digest credentials (credentials with data_type `PJSIP_CRED_DATA_DIGEST`). This issue has been patched in the master branch of the PJSIP repository and will be included with the next release. Users unable to upgrade need to check that the hashed digest data length must be equal to `PJSIP_MD5STRLEN` before passing to PJSIP.

Affected products

VendorProductAffectedFixed
pjsip pjproject <= 2.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ring 20230206.0~ds1-1 —
Debian 11 ring 20210112.2.b757bac~ds1-1+deb11u1 DLA-3887-1
Debian 10 ring 20190215.1.f152c98~ds1-1+deb10u2 DLA-3549-1
Debian 9 pjproject 2.5.5~dfsg-6+deb9u3 DLA-2962-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ring 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 USN-6422-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS pjproject No fix yet —
Ubuntu Pro 18.04 LTS ring 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 USN-6422-1
Ubuntu Pro 16.04 LTS pjproject No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 pjproject 2.12.1-r0 —
Alpine v3.23 pjproject 2.12.1-r0 —
Alpine v3.22 pjproject 2.12.1-r0 —
Alpine v3.21 pjproject 2.12.1-r0 —
Alpine v3.20 pjproject 2.12.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pjproject 2.12.1-r0 —
Alpine v3.18 pjproject 2.12.1-r0 —
Alpine v3.17 pjproject 2.12.1-r0 —
Alpine v3.16 pjproject 2.12.1-r0 —

Advisories 4

References