Cloudanix VulnDB

CVE-2013-6369

None

CVSS

—

EPSS

3.4%

Published

Apr 11, 2014

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Identify a target application or service that uses JBIG-KIT to decode image files
  2. Craft a JBIG image that exceeds buffer limits in jbg_dec_in
  3. Deliver the malicious image through email, web upload, file share, or other input channel
  4. 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