Stack-based Buffer OverflowWeakness · CWE-121

CVE-2023-36998

HIGH · 8.9 CVSS v3.1 Published 2025-01-22
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
91/100
Remediation priority · Urgent
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The NextEPC MME <= 1.0.1 (fixed in commit a8492c9c5bc0a66c6999cb5a263545b32a4109df) contains a stack-based buffer overflow vulnerability in the Emergency Number List decoding method. An attacker may send a NAS message containing an oversized Emergency Number List value to the MME to overwrite the stack with arbitrary bytes. An attacker with a cellphone connection to any base station managed by the MME may exploit this vulnerability without having to authenticate with the LTE core.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Stack-based buffer overflow in NextEPC MME's Emergency Number List decoding function allows remote attackers with cellular access to overwrite stack memory by sending NAS messages with oversized Emergency Number List values, potentially achieving code execution.

MitigationUpgrade to the version containing commit a8492c9c5bc0a66c6999cb5a263545b32a4109df which implements proper bounds checking in the Emergency Number List parser. As defense-in-depth, implement network segmentation to restrict base station access to trusted entities.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
Low
Privileges
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
High

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify NextEPC MME installation version
    Locate the installed NextEPC MME binaries or check the package version using your system package manager, then determine the exact version number
    Affected if the installed version is 1.0.1 or lower
  2. Confirm MME service is running
    Check if the NextEPC MME process is active and listening for base station connections
    Affected if the MME service is running and accessible over cellular network interfaces
  3. Verify NAS message processing is enabled
    Inspect MME configuration to confirm it accepts NAS (Non-Access Stratum) messages from base stations
    Affected if NAS message handling is enabled and the MME accepts connections from eNodeB/gNodeB base stations
  4. Identify Emergency Number List decoding component
    Locate the MME code or binaries responsible for parsing the Emergency Number List from NAS messages
    Affected if the Emergency Number List decoding function exists in the deployed version and is invoked during NAS message processing

A user is affected if they are running NextEPC MME version 1.0.1 or lower with the MME service active and accepting NAS messages from base stations, which allows the Emergency Number List decoding to be reached by remote attackers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to the version containing commit a8492c9c5bc0a66c6999cb5a263545b32a4109df which implements proper bounds checking in the Emergency Number List parser. As defense-in-depth, implement network segmentation to restrict base station access to trusted entities.

Recommended fix Moderate confidence

NextEPC MME version containing commit a8492c9c5bc0a66c6999cb5a263545b32a4109df (next release after 1.0.1)

  1. 1. Identify the current NextEPC MME version in use by checking the installed package or binary version.
  2. 2. Obtain the source code from the official NextEPC repository (https://github.com/nextepc/nextepc).
  3. 3. Navigate to the commit a8492c9c5bc0a66c6999cb5a263545b32a4109df to review the fix for the Emergency Number List buffer overflow.
  4. 4. Either checkout this specific commit or wait for the next stable release that includes this fix.
  5. 5. Rebuild and redeploy the MME component with the patched code.
  6. 6. Verify the build completes without errors and the service starts successfully.
  7. 7. Test basic LTE attach procedures to confirm the MME functions correctly after the update.

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing12.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,760
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-36998 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-36998 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data