CVE-2022-24764 Stack buffer overflow in pjproject

High 7.5 Published Updated

A stack buffer overflow in PJSIP allows attackers to execute arbitrary code or cause denial of service via specific SDP printing APIs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24764?

CVE-2022-24764 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 22 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PJSIP is a free and open source multimedia communication library written in C. Versions 2.12 and prior contain a stack buffer overflow vulnerability that affects PJSUA2 users or users that call the API `pjmedia_sdp_print(), pjmedia_sdp_media_print()`. Applications that do not use PJSUA2 and do not directly call `pjmedia_sdp_print()` or `pjmedia_sdp_media_print()` should not be affected. A patch is available on the `master` branch of the `pjsip/pjproject` GitHub repository. There are currently no known workarounds.

Weakness: CWE-787, CWE-121, CWE-120

Which versions are affected by CVE-2022-24764?

It affects 2 products.

Products include Debian Debian Linux, Teluu Pjsip.

How do I fix CVE-2022-24764?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-24764 being exploited?

There is no known exploitation of CVE-2022-24764 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-24764, DEBIAN-CVE-2022-24764, GHSA-f5qg-pqcg-765m, UBUNTU-CVE-2022-24764.

Is CVE-2022-24764 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free