CVEfocus › CVE database › CVE-2021-43299

CVE-2021-43299

CVSS 9.8 CriticalEPSS 2.5% (higher than 85% of CVEs)Published 2022-02-16Updated 2025-11-04Assigner: JFROG

Stack overflow in PJSUA API when calling pjsua_player_create. An attacker-controlled 'filename' argument may cause a buffer overflow since it is copied to a fixed-size stack buffer without any size validation.

CWE-121

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
4Fix pending
1Under investigation
7Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10asteriskFix pendingUBUNTU-CVE-2021-43299
Ubuntu 26.04asteriskUnder investigationUBUNTU-CVE-2021-43299
Ubuntu 25.10asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-43299
Ubuntu 24.04asteriskNot affected
vulnerable_code_not_present
Ubuntu 22.04asteriskFix pendingUBUNTU-CVE-2021-43299
Ubuntu 20.04asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-43299
Ubuntu 20.04ringFixed20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1UBUNTU-CVE-2021-43299
Ubuntu 18.04asteriskWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 18.04pjprojectFix pending2.7.2~dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-43299
Ubuntu 18.04ringFix pending20180228.1.503da2b~ds1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-43299
Ubuntu 16.04asteriskWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-43299
Ubuntu 16.04pjprojectWill not fix
Ubuntu decided not to fix this in this release
2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-43299
Ubuntu 14.04asteriskWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04pjprojectWill not fix
Ubuntu decided not to fix this in this release
Debian 12ringFixed20230206.0~ds1-1DEBIAN-CVE-2021-43299
Alpine Linux 3.24pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.23pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.22pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.21pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.20pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.19pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.18pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.17pjprojectFixed2.12-r0ALPINE-CVE-2021-43299
Alpine Linux 3.16pjprojectFixed2.12-r0ALPINE-CVE-2021-43299

What the vendor says

As published in the CVE record by JFROG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.