CVE-2026-24797
Unknown Unknown - Not Provided

Out-of-Bounds Write in cupoch libjpeg-turbo Module

Vulnerability report for CVE-2026-24797, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-01-27

Last updated on: 2026-01-27

Assigner: Government Technology Agency of Singapore Cyber Security Group (GovTech CSG)

Description

Out-of-bounds Write vulnerability in neka-nat cupoch (third_party/libjpeg-turbo/libjpeg-turbo modules). This vulnerability is associated with program files tjbench.C. This issue affects cupoch.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-01-27
Last Modified
2026-01-27
Generated
2026-07-06
AI Q&A
2026-01-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
neka-nat cupoch From 3.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds write issue in the decomp() function within the tjbench.c file of the cupoch project, which uses a cloned version of the libjpeg-turbo library. The problem arose because the cloned code did not include a critical security patch from the original libjpeg-turbo repository. This patch fixes signed integer overflow and potential segmentation faults that occur when decompressing very large images (larger than about 715 million pixels). Without this fix, decompressing such large images could cause memory corruption or crashes. [1]

Impact Analysis

This vulnerability can lead to memory corruption or segmentation faults when decompressing very large images, potentially causing application crashes or unexpected behavior. Such out-of-bounds writes could be exploited to execute arbitrary code or cause denial of service, impacting the stability and security of systems using the affected cupoch library for image processing. [1]

Mitigation Strategies

To mitigate this vulnerability, update the cupoch project to include the security patch applied in pull request #138, which fixes the decomp() function in tjbench.c by incorporating the original libjpeg-turbo fix that prevents signed integer overflow and segmentation faults during decompression of very large images. Applying this patch will eliminate the out-of-bounds write vulnerability. [1]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-24797. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart