Description
libjpeg-turbo 3.2.0 contains an integer division-by-zero vulnerability in the PNG loader. When processing a valid indexed-color PNG image with a non-gray palette through tj3LoadImage12() or tj3LoadImage16() using the default pixel format, the application may trigger a division-by-zero in alloc_sarray(), causing a SIGFPE and denial of service.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in libjpeg-turbo 3.2.0 is an integer division‑by‑zero flaw in its PNG loader. When a valid indexed‑color PNG image containing a non‑gray palette is processed by tj3LoadImage12() or tj3LoadImage16() with the default pixel format, the library invokes alloc_sarray() which performs a division that can evaluate to zero. That causes a SIGFPE, terminating the application and resulting in a denial of service. The weakness corresponds to CWE-369, an unchecked division operation.

Affected Systems

The defect is confined to libjpeg‑turbo version 3.2.0 and applies whenever applications load PNG files through tj3LoadImage12() or tj3LoadImage16(). Any software that relies on libjpeg‑turbo for image decoding—such as web servers, media players, or document processors—can be affected if the library is linked into their process.

Risk and Exploitability

No EPSS score or KEV listing is available, and there is no CVSS score disclosed. Based on the description, the likely attack vector is inferred to be the delivery of a malicious PNG file to an application that processes images with libjpeg‑turbo. The execution of the unsafe division operation can crash the process, allowing an attacker to cause a denial‑of‑service. Because the bug is triggered purely by the image data, the risk is high for any code that loads PNG files without additional validation.

Generated by OpenCVE AI on August 26, 2026 at 20:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • If an up‑to‑date libjpeg‑turbo release containing a fix becomes available, upgrade the library; this is the most comprehensive remediation.
  • Before calling tj3LoadImage12() or tj3LoadImage16(), validate the PNG palette to ensure it is grayscale or exclude non‑gray palettes; reject any image that would trigger the flag.
  • Add defensive checks at the application level to catch any SIGFPE from the library—e.g., install a signal handler or use a sandbox to isolate the image decoding.

Generated by OpenCVE AI on August 26, 2026 at 20:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
Title Division‑by‑Zero in libjpeg‑turbo PNG Decoder Causing Application Crash
Weaknesses CWE-369

Wed, 26 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Libjpeg-turbo
Libjpeg-turbo libjpeg-turbo
Vendors & Products Libjpeg-turbo
Libjpeg-turbo libjpeg-turbo

Wed, 26 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Description libjpeg-turbo 3.2.0 contains an integer division-by-zero vulnerability in the PNG loader. When processing a valid indexed-color PNG image with a non-gray palette through tj3LoadImage12() or tj3LoadImage16() using the default pixel format, the application may trigger a division-by-zero in alloc_sarray(), causing a SIGFPE and denial of service.
References

Subscriptions

Libjpeg-turbo Libjpeg-turbo
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-26T18:03:21.285Z

Reserved: 2026-08-17T00:00:00.000Z

Link: CVE-2026-75466

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T19:17:03.787

Modified: 2026-08-26T19:17:03.787

Link: CVE-2026-75466

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T20:30:11Z

Weaknesses