CVE-2013-6369
NoneCVSS
—
EPSS
3.4%
Published
Apr 11, 2014
CISA due date
—
Cloudanix analysis
A flaw in an old image-handling library can let attackers crash programs or run their own code by sending a specially made picture file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer overflow in jbg_dec_in allows memory corruption via oversized or malformed JBIG image data, enabling application crashes or potential arbitrary code execution.
Why it matters to the business
Applications that decode JBIG images may crash unexpectedly or be compromised, leading to service disruption and potential unauthorized code execution in image-processing workflows.
How an attack unfolds
An attacker crafts a malicious JBIG image file that triggers the overflow in the decoder, then delivers the file to a vulnerable application or service that processes untrusted images.
How to fix it
Upgrade JBIG-KIT to version 2.1 or later; rebuild and redeploy any dependent applications after updating the library.
How to confirm the fix worked
Verify installed JBIG-KIT version is 2.1 or newer; test image decoding with known-malformed JBIG test files to confirm absence of crashes.
Typical attack path
- Identify a target application or service that uses JBIG-KIT to decode image files
- Craft a JBIG image that exceeds buffer limits in jbg_dec_in
- Deliver the malicious image through email, web upload, file share, or other input channel
- Trigger decoding to cause overflow, crash, or code execution
How to detect it
Review application logs for crashes during JBIG image processing; inspect file-upload or email-attachment pipelines for unexpected image files around crash timestamps.
What your security team should do
- Inventory all systems and applications using JBIG-KIT and prioritize upgrades
- Block or sanitize untrusted JBIG image inputs where upgrades cannot be applied immediately
- Monitor for any new exploit releases given the age of the vulnerability
The record
Stack-based buffer overflow in the jbg_dec_in function in libjbig/jbig.c in JBIG-KIT before 2.1 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted image file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | jbigkit | 0 | 2.0-2.1 |
| Debian:12 | jbigkit | 0 | 2.0-2.1 |
| Debian:13 | jbigkit | 0 | 2.0-2.1 |
| Debian:7 | jbigkit | 0 | 2.0-2+deb7u1 |
| Mageia:3 | jbigkit | 0 | 2.1-1.mga3 |
| Mageia:4 | jbigkit | 0 | 2.1-1.mga4 |
| Ubuntu:14.04:LTS | jbigkit | 0 | 2.0-2ubuntu4.1 |
| openSUSE:Tumbleweed | jbigkit | 0 | 2.1-3.8 |
Related vulnerabilities
- CVE-2017-9937 In LibTIFF 4.0.8, there is a memory malloc failure in tif_jbig.c. Also affects jbigkit
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119
- CVE-2026-87933 A vulnerability was found in DaveGamble cJSON up to 1.7.19. CWE-119