← Back to CVE Explorer

CVE-2026-52834

Full vulnerability record from the local CVENow database.

Description

jxl-oxide is a pure Rust implementation of a JPEG XL decoder. Prior to jxl-grid 0.6.2, decoding a crafted JPEG XL image on a 32-bit platform can overflow length calculations in AlignedGrid::with_alloc_tracker and related grid and subgrid arithmetic. A 65536 x 65536 frame can pass the frame-area limit while overflowing the usize element count, causing modular, VarDCT, or filter rendering paths to allocate a backing buffer smaller than the logical grid. A tiny bitstream-controlled cropped frame combined with a huge canvas or requested region can also reach the vulnerable composition path in crates/jxl-render/src/blend.rs through ordinary render_frame(). Later mutable subgrid and raw-pointer operations can then perform attacker-controlled out-of-bounds writes, causing memory corruption, denial of service, or arbitrary code execution. This issue is fixed in jxl-grid version 0.6.2.

Severity
HIGH
CVSS score
7.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-19 15:17:09.810000
Last modified
2026-10-27 13:10:00.360000
View original CVE JSON
{
  "id": "CVE-2026-52834",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-19T15:17:09.810",
  "lastModified": "2026-10-27T13:10:00.360",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "jxl-oxide is a pure Rust implementation of a JPEG XL decoder. Prior to jxl-grid 0.6.2, decoding a crafted JPEG XL image on a 32-bit platform can overflow length calculations in AlignedGrid::with_alloc_tracker and related grid and subgrid arithmetic. A 65536 x 65536 frame can pass the frame-area limit while overflowing the usize element count, causing modular, VarDCT, or filter rendering paths to allocate a backing buffer smaller than the logical grid. A tiny bitstream-controlled cropped frame combined with a huge canvas or requested region can also reach the vulnerable composition path in crates/jxl-render/src/blend.rs through ordinary render_frame(). Later mutable subgrid and raw-pointer operations can then perform attacker-controlled out-of-bounds writes, causing memory corruption, denial of service, or arbitrary code execution. This issue is fixed in jxl-grid version 0.6.2."
    },
    {
      "lang": "es",
      "value": "jxl-oxide es una implementación pura en Rust de un decodificador JPEG XL. Antes de jxl-grid 0.6.2, la decodificación de una imagen JPEG XL manipulada en una plataforma de 32 bits puede desbordar los cálculos de longitud en AlignedGrid::with_alloc_tracker y la aritmética relacionada de cuadrículas y subcuadrículas. Un fotograma de 65536 x 65536 puede superar el límite del área del fotograma mientras desborda el recuento de elementos usize, haciendo que las rutas de renderizado modular, VarDCT o de filtro asignen un búfer de respaldo más pequeño que la cuadrícula lógica. Un fotograma recortado pequeño controlado por el flujo de bits combinado con un lienzo enorme o una región solicitada también puede alcanzar la ruta de composición vulnerable en crates/jxl-render/src/blend.rs a través de render_frame() ordinario. Operaciones posteriores de subcuadrícula mutable y puntero sin procesar pueden entonces realizar escrituras fuera de límites controladas por el atacante, causando corrupción de memoria, denegación de servicio o ejecución de código arbitrario. Este problema está solucionado en la versión 0.6.2 de jxl-grid."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "tirr-c",
          "product": "jxl-oxide",
          "versions": [
            {
              "version": "< 0.12.6",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "tirr-c",
          "product": "jxl-grid",
          "versions": [
            {
              "version": "< 0.6.2",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H",
          "baseScore": 7.3,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.4,
        "impactScore": 5.3
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-19T18:03:40.919161Z",
          "id": "CVE-2026-52834",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-122"
        },
        {
          "lang": "en",
          "value": "CWE-131"
        },
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5",
      "source": "[email protected]"
    },
    {
      "url": "https://rustsec.org/advisories/RUSTSEC-2026-0151.html",
      "source": "[email protected]"
    }
  ]
}