Skip to content
Heist/ feed
Back to feed
High

FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c

Type: advisorySources: OSV

FFmpeg through 9.0.2 contains an infinite loop vulnerability in ff_rtsp_connect() in libavformat/rtsp.c that follows RTSP 3xx redirects without any redirect limit. Attackers controlling an RTSP server can answer every request with a 302 redirect to itself or another server, causing endless reconnects that saturate a CPU core.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-107696
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:41 UTC · Revision 1

Source evidence

FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c

core-osv · Original source

Published 8 Oct 2026, 17:30 UTC

FFmpeg through 9.0.2 contains an infinite loop vulnerability in ff_rtsp_connect() in libavformat/rtsp.c that follows RTSP 3xx redirects without any redirect limit. Attackers controlling an RTSP server can answer every request with a 302 redirect to itself or another server, causing endless reconnects that saturate a CPU core.

osv:CVE-2026-107696
Complete source record
{
  "id": "e16f261f38247b8c0ba086b5d8b641b8247cd35a928190f10eb08fa3a5d38ac5",
  "url": "https://osv.dev/vulnerability/CVE-2026-107696",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c",
    "summary": "FFmpeg through 9.0.2 contains an infinite loop vulnerability in ff_rtsp_connect() in libavformat/rtsp.c that follows RTSP 3xx redirects without any redirect limit. Attackers controlling an RTSP server can answer every request with a 302 redirect to itself or another server, causing endless reconnects that saturate a CPU core.",
    "evidence": "osv:CVE-2026-107696",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-107696",
      "aliases": [
        "CVE-2026-107696"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.ffmpeg.org/ffmpeg.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "946fcce07b6dcd0331c8cc609192aeff5e1924f8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "9.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "946fcce07b6dcd0331c8cc609192aeff5e1924f8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "9.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "9.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n9.0.2",
            "n9.0.1",
            "n9.0",
            "n8.2-dev",
            "n8.1-dev",
            "n7.2-dev",
            "n7.1-dev",
            "n6.2-dev",
            "n6.1-dev",
            "n5.2-dev",
            "n5.1-dev",
            "n4.5-dev",
            "n4.4-dev",
            "n4.3-dev",
            "n4.2-dev",
            "n4.1-dev",
            "n3.5-dev",
            "n3.4-dev",
            "n3.3-dev",
            "n3.2-dev",
            "n3.1-dev",
            "n2.9-dev",
            "n2.8-dev",
            "n2.7-dev",
            "n2.6-dev",
            "n2.5-dev",
            "n2.4-dev",
            "n2.3-dev",
            "n2.2-dev",
            "n2.0",
            "n2.1-dev",
            "n1.3-dev",
            "n1.2-dev",
            "n1.1-dev",
            "n0.12-dev",
            "n0.11-dev",
            "n0.8",
            "N"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107696.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.236177306Z",
      "provider": "osv",
      "references": [
        "https://code.ffmpeg.org/FFmpeg/FFmpeg",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107696.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107696",
        "https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-via-rtsp-redirect-handling-in-rtsp-c",
        "https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24902",
        "https://github.com/FFmpeg/FFmpeg",
        "https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtsp.c#L2225",
        "https://gist.github.com/OxBat/648a0bd60c898f2ffb418e131ce26013"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-835"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107696.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107696",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522293,
  "published_at": "2026-10-08T17:30:27.515+00:00"
}