CVE-2018-8828: Buffer Overflow

Published Mar 20, 2018
·
Updated

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 tmxcheckpretran function in modules/tmx/tmxpretran.c.

Affected Software

6 affected componentsFixes available
kamailio Kamailio<4.4.7
kamailio Kamailio>=5.0.0<5.0.6
kamailio Kamailio>=5.1.0<5.1.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/kamailio
5.4.4-15.6.3-26.0.1-1+deb13u16.1.3-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/kamailio to a version that resolves this vulnerability.

    Fixed in 5.4.4-1Fixed in 5.6.3-2Fixed in 6.0.1-1+deb13u1Fixed in 6.1.3-2
  2. Upgrade

    Upgrade kamailio to a version that resolves this vulnerability.

    Fixed in 4.4.7
  3. Upgrade

    Upgrade kamailio to a version that resolves this vulnerability.

    Fixed in 5.0.6
  4. Upgrade

    Upgrade kamailio to a version that resolves this vulnerability.

    Fixed in 5.1.2

Event History

Mar 20, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:10 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·09:17 PM
RemedyDescriptionSeverityAffected Software
Jul 7, 2026
Data Sourced
via Debian·02:57 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-8828?

CVE-2018-8828 has been rated as a high severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2018-8828?

To fix CVE-2018-8828, upgrade Kamailio to version 5.1.2-1 or a later version.

3

What versions of Kamailio are affected by CVE-2018-8828?

CVE-2018-8828 affects Kamailio versions prior to 4.4.7, 5.0.6, and 5.1.2.

4

What type of vulnerability is CVE-2018-8828?

CVE-2018-8828 is a buffer overflow vulnerability that can be triggered by specially crafted REGISTER messages.

5

Which operating systems are affected by CVE-2018-8828?

CVE-2018-8828 affects systems running vulnerable versions of Kamailio on both Ubuntu and Debian.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203