CVE-2018-8828 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in Kamailio allows attackers to execute arbitrary code or cause denial of service via crafted REGISTER messages.

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

What is CVE-2018-8828?

CVE-2018-8828 is a critical memory corruption vulnerability in Debian Debian Linux, published on 20 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_pretran function in modules/tmx/tmx_pretran.c.

Weakness: CWE-787, CWE-193

Which versions are affected by CVE-2018-8828?

It affects 2 products.

Products include Debian Debian Linux, Kamailio Kamailio.

How do I fix CVE-2018-8828?

Upgrade to a fixed version.

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

Is CVE-2018-8828 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-8828, DEBIAN-CVE-2018-8828, DSA-4148-1, GHSA-9r28-8w7c-98wj, UBUNTU-CVE-2018-8828, USN-4240-1.

Is CVE-2018-8828 in your software?

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

Check your SBOMs for free