Vulnerabilities in pkg:golang/github.com/bluenviron/mediamtx

PACKAGE
Advisory Summary

GHSA-2ccx-cjjh-r2j8 is a LOW mediamtx affected by cve-2026-27143 due vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Github.com/bluenviron/mediamtx libraries in the Go ecosystem. The issue involves mediamtx affected by cve-2026-27143 due to vulnerable dependency. Remediation is available by upgrading affected packages to version 1.18.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/bluenviron/mediamtx

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/bluenviron/mediamtx. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2ccx-cjjh-r2j8 - LOW MediaMTX affected by CVE-2026-27143 due to vulnerable dependency

GHSA-2ccx-cjjh-r2j8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2ccx-cjjh-r2j8
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-190: Integer Overflow or Wraparound
Affected Product Github.com/bluenviron/mediamtx
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-2ccx-cjjh-r2j8

To remediate this vulnerability, upgrade all affected Github.com/bluenviron/mediamtx dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/bluenviron/mediamtx fixed: 1.18.0
Upgrade github.com/bluenviron/mediamtx to 1.18.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/bluenviron/mediamtx

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2ccx-cjjh-r2j8, inspect your project dependencies for Github.com/bluenviron/mediamtx:

inspect dependencies for github.com/bluenviron/mediamtx

Analyze the terminal output to locate any version of Github.com/bluenviron/mediamtx in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.18.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Github.com/bluenviron/mediamtx, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Release 1.17.1 seems affected by CVE-2026-27143. golang 1.25.9 Seems to solve the issue. Is there any new release planned? ### Details See https://nvd.nist.gov/vuln/detail/CVE-2026-27143.

GHSA-2ccx-cjjh-r2j8 Affected Github.com/bluenviron/mediamtx Versions

1 component(s)
Fixed Versions:
1.18.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bluenviron/mediamtx
Go
≥ 1.15.0
< 1.18.0
1.18.0

References

Frequently Asked Questions

What is GHSA-2ccx-cjjh-r2j8?
GHSA-2ccx-cjjh-r2j8 is a security vulnerability in Github.com/bluenviron/mediamtx involving MediaMTX affected by CVE-2026-27143 due to vulnerable dependency under CWE-190: Integer Overflow or Wraparound.
Which Github.com/bluenviron/mediamtx versions are affected?
Affected versions include releases prior to 1.18.0 across affected packages: github.com/bluenviron/mediamtx.
What version fixes GHSA-2ccx-cjjh-r2j8?
Upgrading to 1.18.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bluenviron/mediamtx affected?
Yes, github.com/bluenviron/mediamtx is affected in releases prior to 1.18.0. Upgrade your dependency to 1.18.0 or later.
What CWE is associated with GHSA-2ccx-cjjh-r2j8?
GHSA-2ccx-cjjh-r2j8 is classified under CWE-190: Integer Overflow or Wraparound (The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.).
How can I check Go dependencies for GHSA-2ccx-cjjh-r2j8?
Run the dependency tree command: 'inspect dependencies for github.com/bluenviron/mediamtx'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2ccx-cjjh-r2j8",
  "modified" : "2026-05-06T22:39:07Z",
  "published" : "2026-05-06T22:39:07Z",
  "aliases" : [ ],
  "summary" : "MediaMTX affected by CVE-2026-27143 due to vulnerable dependency",
  "details" : "### Summary\nRelease 1.17.1 seems affected by CVE-2026-27143. golang 1.25.9 Seems to solve the issue. Is there any new release planned?\n\n### Details\nSee https://nvd.nist.gov/vuln/detail/CVE-2026-27143.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/bluenviron/mediamtx"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.15.0"
      }, {
        "fixed" : "1.18.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/bluenviron/mediamtx/security/advisories/GHSA-2ccx-cjjh-r2j8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27143"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bluenviron/mediamtx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bluenviron/mediamtx/releases/tag/v1.18.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-190" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T22:39:07Z",
    "nvd_published_at" : null
  }
}