cve.bz

CVE-2018-8828 Off-by-one Error

9.8 criticalEPSS 30%Fix available

Critical (9.8). EPSS 30% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
30% (unchanged from 30% a week ago; 30% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-193 Off-by-one Error
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8828 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8828?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8828?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8828 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kamailio:kamailiobefore 4.4.7
kamailio:kamailiofrom 5.0.0 before 5.0.6
kamailio:kamailiofrom 5.1.0 before 5.1.2
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8kamailio4.2.0-2+deb8u3DSA-4148-1
Debian9kamailio4.4.4-2+deb9u1DSA-4148-1
Debian12, 13, 14kamailio5.1.2-1DEBIAN-CVE-2018-8828
Ubuntu16.04:LTSkamailio4.3.4-1.1ubuntu2.1UBUNTU-CVE-2018-8828 USN-4240-1
Alpinev3.4kamailio4.4.0-r2ALPINE-CVE-2018-8828
Alpinev3.5kamailio4.4.5-r1ALPINE-CVE-2018-8828
Alpinev3.6kamailio5.0.2-r2ALPINE-CVE-2018-8828

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

References

Check your stackJSON