Vulnerabilities / CVE-2018-8828

critical

CVE-2018-8828

A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x ...

Published Modified CWE 193, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.4kamailio4.4.0-r2
alpine 3.5kamailio4.4.5-r1
alpine 3.6kamailio5.0.2-r2
debian 11kamailio5.1.2-1
debian 12kamailio5.1.2-1
debian 13kamailio5.1.2-1
debian 14kamailio5.1.2-1
debian 8kamailio4.2.0-2+deb8u3
debian 9kamailio4.4.4-2+deb9u1
echokamailio5.1.2-1
ubuntu 16.04kamailio4.3.4-1.1ubuntu2.1
ubuntu 16.04-ESMkamailio4.3.4-1.1ubuntu2.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.