critical

CVE

CVE-2026-120208, CVE-2026-120210, CVE-2026-119777, CVE-2026-63184, CVE-2026-63344, CVE-2026-63345, CVE-2026-63346, CVE-2026-62847, CVE-2026-62848, CVE-2026-61620, CVE-2026-62864

CWE

CWE-787, CWE-22, CWE-94, CWE-502, CWE-377, CWE-89, CWE-1333

Affected Surface

  • C++ `libheif` (`strukturag/libheif`) versions `>= 1.18.0, < 1.23.3` (`CVE-2026-120208` / `GHSA-x8r2-mggj-j6wr`, CVSS 7.5 High)
  • C `FFmpeg` versions `5.0` through `9.0.2` (`CVE-2026-120210`, CVSS 4.3 Medium) and `GStreamer` `gst-plugins-bad` (`CVE-2026-119777`, CVSS 7.8 High)
  • NuGet `Refitter` (`christianhelle/refitter`) versions `< 2.1.2` (`CVE-2026-63344` / `GHSA-p32v-8v8j-j534`, `CVE-2026-63345` / `GHSA-3fhm-p725-h3g3`, `CVE-2026-63346` / `GHSA-58x9-vjvp-6mx8`, all CVSS 8.6 High; and `CVE-2026-63184` / `GHSA-x6w4-f264-3vvr`, CVSS 7.1 High, fixed in `2.1.1`)
  • NuGet `Metalama.Framework` and `Metalama.Tool` (`metalama/Metalama`) versions `< 2025.1.18`, `2026.0.x < 2026.0.25`, and `2026.1.x < 2026.1.19` (`CVE-2026-62847` / `GHSA-m6wq-39m7-9xpp`, CVSS 8.2 High; and `CVE-2026-62848` / `GHSA-h26j-4vp7-x9w2`, CVSS 7.3 High)
  • Clojars / Maven `com.github.seancorfield/honeysql` versions `>= 2.0.0, < 2.7.1392` (`CVE-2026-61620` / `GHSA-fcfq-xqgp-8v97`, CVSS 9.8 Critical)
  • Clojars / Maven `ring/ring-core` versions `< 1.15.5` (`CVE-2026-62864` / `GHSA-q2j3-fc6x-78jj`, CVSS 7.5 High)

TL;DR

Between 18:17 UTC on 30 October and 18:17 UTC on 31 October 2026, NVD and the GitHub Advisory Database published 11 vulnerabilities across three application security domains:

  1. Media decoding (libheif 1.23.3, FFmpeg 9.0.2, and GStreamer): In libheif 1.18.0 before 1.23.3 (CVE-2026-120208 / GHSA-x8r2-mggj-j6wr, CVSS 7.5 High), unc_decoder_mixed_interleave::processTile() decoded both Cb and Cr chroma samples using entry.bytes_per_component_sample from whichever chroma channel appeared first in the uncC box, while allocating each destination plane according to its own bit depth. A crafted uncompressed HEIF image declaring 16-bit Cb (2 bytes/sample) and 8-bit Cr (1 byte/sample) writes twice as many attacker-controlled bytes per pixel into the Cr heap buffer as allocated. Separately, FFmpeg 5.0 through 9.0.2 (CVE-2026-120210) allows path traversal and SSRF via unvalidated <Path> elements in IMF ASSETMAP XML files, and GStreamer gst-plugins-bad (CVE-2026-119777, CVSS 7.8 High) fixes an integer overflow leading to a stack buffer overflow in the H.266/VVC parser.
  2. .NET code generation and build tooling (Refitter 2.1.2 and Metalama 2026.1.19): In Refitter < 2.1.2, OpenAPI requestBody/responses media-type keys (CVE-2026-63344), paths keys (CVE-2026-63345), and in: header parameter and security-scheme names (CVE-2026-63346, all CVSS 8.6 High) were interpolated unescaped into Refit [Headers("...")], [Get("...")], and [Header("...")] C# attribute strings. An untrusted OpenAPI specification can break out of the attribute string, close the generated interface, and emit a C# [ModuleInitializer] method that executes arbitrary code as soon as the compiled .NET assembly is loaded (v2.1.1 also fixed unrestricted $ref SSRF and local file inclusion, CVE-2026-63184). In Metalama (< 2025.1.18, < 2026.0.25, < 2026.1.19), compile-time assemblies on Linux and macOS were loaded from world-writable /tmp directories based on sentinel files (CVE-2026-62847, CVSS 8.2 High), and the Windows Visual Studio RPC named pipe deserialized TypeNameHandling.All JSON and TypelessObjectResolver MessagePack payloads without a per-type allowlist (CVE-2026-62848, CVSS 7.3 High).
  3. Clojure web and SQL libraries (HoneySQL 2.7.1392 and Ring 1.15.5): In HoneySQL 2.0.0 before 2.7.1392 (CVE-2026-61620 / GHSA-fcfq-xqgp-8v97, CVSS 9.8 Critical), suspicious-entity-check only tested for ; and was not applied to sql-kw, format-fn-name, or single-quote-prefixed symbols/keywords, allowing applications that convert user input via keyword or symbol (for example in :order-by clauses) or :inline string escaping to suffer SQL injection. In Ring < 1.15.5 (CVE-2026-62864 / GHSA-q2j3-fc6x-78jj, CVSS 7.5 High), parse-nested-keys in ring.middleware.nested-params used backtracking regular expressions that allowed crafted query parameter names to stall request threads.

What to do now: Upgrade libheif (and downstream sharp, ImageMagick, or pillow-heif builds) to >= 1.23.3, Refitter to >= 2.1.2, Metalama.Framework / Metalama.Tool to >= 2026.1.19 (2026.0.25 / 2025.1.18), com.github.seancorfield/honeysql to >= 2.7.1392, and ring/ring-core to >= 1.15.5.

Affected packages and libraries

EcosystemPackage / LibraryCVE / GHSASeverityAffected versionsFixed versionVulnerable component
C++libheif (strukturag/libheif)CVE-2026-120208 (GHSA-x8r2-mggj-j6wr)CVSS 7.5 High>= 1.18.0, < 1.23.31.23.3unc_decoder_mixed_interleave::processTile() in libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc
CFFmpeg / GStreamer (gst-plugins-bad)CVE-2026-120210 (FFmpeg), CVE-2026-119777 (GStreamer)CVSS 4.3 Medium / 7.8 HighFFmpeg 5.0..9.0.2; GStreamer < 1.28.xFFmpeg PR #25341; GStreamer MR !11241parse_imf_asset_map_from_xml_dom() in libavformat/imfdec.c; H.266/VVC profile/tier/level parser
NuGetRefitter (christianhelle/refitter)CVE-2026-63344, 63345, 63346, 63184CVSS 8.6 High / 7.1 High< 2.1.2 (63184: < 2.1.1)2.1.2MethodAttributeGenerator.cs, InterfaceGenerator.cs, HeaderParameterExtractor.cs, OpenApiDocumentFactory.cs
NuGetMetalama.Framework, Metalama.ToolCVE-2026-62847 (GHSA-m6wq-39m7-9xpp), CVE-2026-62848 (GHSA-h26j-4vp7-x9w2)CVSS 8.2 High / 7.3 High< 2025.1.18, 2026.0.x < 2026.0.25, 2026.1.x < 2026.1.192025.1.18, 2026.0.25, 2026.1.19StandardDirectories.cs (/tmp/Metalama on Unix) and JsonSerializationBinder.cs (TypeNameHandling.All)
Clojarscom.github.seancorfield/honeysqlCVE-2026-61620 (GHSA-fcfq-xqgp-8v97)CVSS 9.8 Critical>= 2.0.0, < 2.7.13922.7.1392suspicious-entity-check, sql-kw, format-fn-name, and :inline in src/honey/sql.cljc
Clojarsring/ring-coreCVE-2026-62864 (GHSA-q2j3-fc6x-78jj)CVSS 7.5 High< 1.15.51.15.5parse-nested-keys in ring-core/src/ring/middleware/nested_params.clj

Technical analysis

1. libheif 1.23.3 (CVE-2026-120208) and FFmpeg 9.0.2 (CVE-2026-120210)

ISO/IEC 23001-17 uncompressed HEIF (unci / uncC) allows an image to interleave Cb and Cr chroma samples in mixed-interleave mode (sampling_mode_420 or sampling_mode_422) while declaring each component’s bit depth independently in the cmpd / uncC boxes. In libheif 1.18.0 through 1.23.2, buildChannelList() allocated each plane (heif_channel_Cb and heif_channel_Cr) according to its own declared bit depth, but unc_decoder_mixed_interleave::processTile() used entry.bytes_per_component_sample (taken from whichever chroma component came first) for both planes:

--- a/libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc
+++ b/libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc
@@ -89,16 +89,25 @@ void unc_decoder_mixed_interleave::processTile(UncompressedBitReader& srcBits, u
           for (uint32_t tile_y = 0; tile_y < entry.tile_height; tile_y++) {
             uint64_t dst_row_number = tile_y + channel_y0;
-            uint64_t dst_row_offset = dst_row_number * entry.dst_plane_stride;
+            uint64_t chroma_dst_row_offset[2];
+            chroma_dst_row_offset[0] = dst_row_number * entry.chroma_dst_plane_stride[0];
+            chroma_dst_row_offset[1] = dst_row_number * entry.chroma_dst_plane_stride[1];
             for (uint32_t tile_x = 0; tile_x < entry.tile_width; tile_x++) {
               uint64_t dst_column_number = channel_x0 + tile_x;
-              uint64_t dst_column_offset = dst_column_number * entry.bytes_per_component_sample;
-              int val = srcBits.get_bits(entry.bytes_per_component_sample * 8);
-              memcpy_to_native_endian(entry.dst_plane + dst_row_offset + dst_column_offset, val, entry.bytes_per_component_sample);
-              val = srcBits.get_bits(entry.bytes_per_component_sample * 8);
-              uint64_t other_dst_row_offset = dst_row_number * entry.other_chroma_dst_plane_stride;
-              memcpy_to_native_endian(entry.other_chroma_dst_plane + other_dst_row_offset + dst_column_offset, val, entry.bytes_per_component_sample);

When an image declared Y=8-bit, Cb=16-bit, Cr=8-bit, entry.bytes_per_component_sample was 2, while other_chroma_dst_plane (Cr) was allocated with 1 byte per sample. On every pixel across the tile, memcpy_to_native_endian() wrote 2 bytes at dst_column_number * 2, overflowing the Cr plane buffer by tile_width * tile_height bytes (commit 9d3cd91d7b).

In FFmpeg 5.0 through 9.0.2 (CVE-2026-120210), parse_imf_asset_map_from_xml_dom() in libavformat/imfdec.c reads <Chunk><Path> from an Interoperable Master Format (IMF) ASSETMAP.xml file and either appends it to base_url via av_append_path_component(base_url, uri) or, if uri is already a URL or absolute Unix/DOS path, duplicates it directly (av_strdup(uri)). When the IMF demuxer subsequently opens the referenced MXF track asset, a crafted ASSETMAP.xml containing ../../ segments, absolute filesystem paths, or http:// URLs can read arbitrary local MXF files or trigger SSRF.

2. .NET Refitter 2.1.2 (CVE-2026-63344, 63345, 63346, 63184) and Metalama (CVE-2026-62847, 62848)

Just as Go’s oapi-codegen patched OpenAPI-to-Go source injection on 29 October (CVE-2026-119028), .NET Refitter (< 2.1.2) interpolated three OpenAPI spec fields directly into double-quoted C# Refit attributes without escaping quotes or backslashes:

  • Media-type keys (CVE-2026-63344, commit ab4d8e439d): headers.Add($"\"Accept: {string.Join(", ", uniqueContentTypes)}\"") and Content-Type in MethodAttributeGenerator.cs.
  • Route paths (CVE-2026-63345, commit 793d263289): [{verb}(\"{op.Path}\")] in InterfaceGenerator.cs.
  • Header parameter and API-key security scheme names (CVE-2026-63346, commit 63a19b0369): Header(\"{p.Name}\") and [Header(\"{securityScheme.Name}\")] in HeaderParameterExtractor.cs.

Because C# 9+ supports [System.Runtime.CompilerServices.ModuleInitializer], an attacker who supplies a crafted header parameter name or path key in an OpenAPI document can close the attribute (")]), close the method and interface (}), and declare a static class with a [ModuleInitializer] method that runs automatically as soon as the compiled .NET assembly is loaded into a test runner, web service, or CLI tool:

--- a/src/Refitter.Core/ParameterExtraction/HeaderParameterExtractor.cs
+++ b/src/Refitter.Core/ParameterExtraction/HeaderParameterExtractor.cs
@@ -27,7 +27,7 @@ public IEnumerable<string> Extract(
                 .Select(p =>
                 {
                     var variableName = ParameterShared.GetVariableName(p);
-                    return $"{ParameterShared.JoinAttributes($"Header(\"{p.Name}\")")}{ParameterShared.GetParameterType(p, settings)} {variableName}";
+                    return $"{ParameterShared.JoinAttributes($"Header(\"{ParameterShared.EscapeString(p.Name)}\")")}{ParameterShared.GetParameterType(p, settings)} {variableName}";
                 })
                 .ToList();

In Metalama (< 2025.1.18, < 2026.0.25, < 2026.1.19), commit 09911349a9 (CVE-2026-62847) moves TempDirectory on Linux and macOS out of world-writable /tmp into the per-user ApplicationDataDirectory (~/.local/share or ~/Library/Application Support) so another local user on a shared build agent cannot pre-create the deterministic folder with a .completed marker and plant a trojanized compile-time DLL. Commit 5b4ced29f2 (CVE-2026-62848) adds JsonSerializationAllowList to JsonSerializationBinder.BindToType so TypeNameHandling.All on the Metalama_{role}_{pid}_{hash} named pipe cannot instantiate arbitrary CLR gadget types from System.Private.CoreLib or mscorlib.

3. Clojure HoneySQL 2.7.1392 (CVE-2026-61620) and Ring 1.15.5 (CVE-2026-62864)

In HoneySQL (2.0.0 through 2.7.1391), developers frequently pass sort directions, column names, or function names into the HoneySQL DSL by converting request strings with (keyword user-input) or (symbol user-input). While format-entity ran suspicious-entity-check to reject ;, three gaps allowed SQL injection (reported by Younghun Ko):

  1. sql-kw (used for SQL keywords such as :order-by [[:id (keyword user-sort-dir)]]) did not call suspicious-entity-check, and stripped a leading ' to call (format-entity (keyword ident)) without checking for ; when :quoted true was active.
  2. suspicious only checked for ;, not ,, allowing :order-by [[:id (keyword "desc, (select password from admin)")]] to inject a comma-separated subquery into ORDER BY without a semicolon.
  3. :inline string literal formatting did not properly handle escaped quotes.

In v2.7.1392, suspicious is expanded to ";," and enforced across sql-kw, format-fn-name, and format-simple-var.

In Ring (< 1.15.5, CVE-2026-62864), parse-nested-keys in ring-core/src/ring/middleware/nested_params.clj matched query parameter names against #"(?s)(.*?)((?:\[.*?\])*)". Sending a query parameter consisting of 200,000 unclosed [ characters caused catastrophic backtracking between (.*?) and ((?:\[.*?\])*). Commit 18738cbb8a (1.15.5) replaces the pattern with disjoint character classes #"(?s)([^\[\]]*)(\[.*\])?" and #"\[([^\[\]]*)\]", parsing 200,000 brackets in linear time.

Detection and remediation

# 1. Check installed libheif and FFmpeg versions on Linux/macOS hosts and container images
heif-info --version 2>/dev/null || pkg-config --modversion libheif 2>/dev/null || true
ffmpeg -version 2>/dev/null | head -n 1 || true

# 2. Check .NET projects and tool manifests for Refitter and Metalama
rg -n 'Refitter|Metalama\.(Framework|Tool)' \
  *.csproj Directory.Packages.props .config/dotnet-tools.json packages.lock.json 2>/dev/null

# 3. Check Clojure deps.edn and project.clj files for honeysql and ring-core
rg -n 'honeysql|ring-core|ring/ring' deps.edn project.clj 2>/dev/null
  1. Upgrade libheif to >= 1.23.3 and rebuild or update downstream image-processing packages (sharp, ImageMagick, libvips, pillow-heif) that enable the uncompressed HEIF (WITH_UNCOMPRESSED_CODEC) decoder. For FFmpeg (<= 9.0.2), disable the imf demuxer (--disable-demuxer=imf or -f allowlisting) when processing untrusted uploads.
  2. Upgrade .NET Refitter to >= 2.1.2 and Metalama.Framework / Metalama.Tool to >= 2026.1.19 (2026.0.25 / 2025.1.18), and clean any stale /tmp/Metalama directories on shared Linux/macOS build agents.
  3. Upgrade Clojure com.github.seancorfield/honeysql to >= 2.7.1392 and ring/ring-core to >= 1.15.5, and never call keyword or symbol directly on unvalidated HTTP request parameters.

Timeline

  • 2026-06-22 to 2026-06-26: HoneySQL releases 2.7.1390 and 2.7.1392 fixing CVE-2026-61620; Ring merges commit 18738cbb8a and releases 1.15.5 fixing CVE-2026-62864.
  • 2026-09-09 to 2026-09-12: Refitter releases 2.1.1 (6ad20a3803, CVE-2026-63184) and 2.1.2 (ab4d8e439d, 793d263289, 63a19b0369, CVE-2026-63344 to CVE-2026-63346); Metalama merges PRs #1650 (09911349a9) and #1651 (5b4ced29f2) and releases 2025.1.18, 2026.0.25, and 2026.1.19.
  • 2026-10-21: libheif merges commit 9d3cd91d7b and releases v1.23.3 (GHSA-x8r2-mggj-j6wr).
  • 2026-10-30 (18:17 to 23:17 UTC): NVD publishes CVE-2026-119777 (GStreamer), CVE-2026-61620 (HoneySQL), CVE-2026-62847 and CVE-2026-62848 (Metalama), CVE-2026-62864 (Ring), CVE-2026-63184, and CVE-2026-63344 through CVE-2026-63346 (Refitter).
  • 2026-10-31 (18:17 UTC): NVD publishes CVE-2026-120208 (libheif) and CVE-2026-120210 (FFmpeg).

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References