CVE-2022-34998

HIGH

JPEGDEC commit be4843c was discovered to contain a global buffer overflow via JPEGDecodeMCU at /src/jpeg.inl.

Affects 1 product across 1 vendor.

CVSS 3.17.8
EPSS0.3%
Percentile26th
PatchUnknown
CVSS Vector — Plain English Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-120: Buffer Copy without Checking Size (Classic Buffer Overflow)

Program copies data to a buffer without verifying the source data fits within the destination.

Related Attack Patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call
via CWE-120
CAPEC-9 Buffer Overflow in Local Command-Line Utilities
via CWE-120
CAPEC-10 Buffer Overflow via Environment Variables
via CWE-120
CAPEC-14 Client-side Injection-induced Buffer Overflow
via CWE-120
CAPEC-24 Filter Failure through Buffer Overflow
via CWE-120
Show all 13

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

A global buffer overflow vulnerability was identified in the JPEGDEC library, specifically in the JPEGDecodeMCU function located at /src/jpeg.inl. This issue could allow an attacker to execute arbitrary code or cause a denial of service by providing a specially crafted JPEG file.

BSID: BS-2022-GLOBAL-321619-H • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2022-34998?
A global buffer overflow vulnerability was identified in the JPEGDEC library, specifically in the JPEGDecodeMCU function located at /src/jpeg.inl. This issue could allow an attacker to execute arbitrary code or cause a denial of service by providing a specially crafted JPEG file.
What is the CVSS score for CVE-2022-34998?
CVE-2022-34998 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2022-34998 actively exploited?
No confirmed active exploitation of CVE-2022-34998 as of 2026-05-30.
How do I remediate CVE-2022-34998?
Priority: HIGH.
What systems are affected by CVE-2022-34998?
CVE-2022-34998 affects Bitbanksoftware Jpegdec.
Vulnerability Details
CVE IDCVE-2022-34998
BSIDBS-2022-GLOBAL-321619-H BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2022-08-16
Last Modified2024-11-21
ICS Relevance15%
Weakness (CWE)
SourceNVD
Official Description

JPEGDEC commit be4843c was discovered to contain a global buffer overflow via JPEGDecodeMCU at /src/jpeg.inl.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

The vulnerability is triggered when the JPEGDecodeMCU function processes a malicious JPEG file. The global buffer overflow occurs due to improper bounds checking, allowing an attacker to write data beyond the allocated buffer size.

Exploitation Likelihood: MEDIUM

Affected Products
VendorProductAffected Versions
Bitbanksoftware Jpegdec 1.2.7
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 1521 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hash94280ec48a70e2740919dec0370d10eb222ebc94faf56d703bf7a1344ccfc766585f821d43b1a1092d39f7b80de48d73a480a069a68d53095e8aaf19a4ebca46
Related CVEs affecting Bitbanksoftware
CVE-2022-35003 7.8 JPEGDEC commit be4843c was discovered to contain a global buffer overflow via... CVE-2022-34999 5.5 JPEGDEC commit be4843c was discovered to contain a FPE via DecodeJPEG at /src... CVE-2022-35000 5.5 JPEGDEC commit be4843c was discovered to contain a segmentation fault via fse... CVE-2022-35002 5.5 JPEGDEC commit be4843c was discovered to contain a segmentation fault via TIF... CVE-2022-35004 5.5 JPEGDEC commit be4843c was discovered to contain a FPE via TIFFSHORT at /src/...
View all Bitbanksoftware CVEs →

ICS/OT Vulnerability Intelligence for Your Environment

BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.

Create a free account →