BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-30354 in Amazon Kindle and 1 more product

High 8.6

Amazon Kindle e-reader prior to and including version 5.13.4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function CJBig2Image::expand() and results in a memory corruption that leads to code execution when parsing a crafted PDF book.

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.18.6
EPSS8.4%
EPSS percentile96th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Amazon Kindle (device and firmware) ≤ 5.13.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

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

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Amazon Kindle e-reader prior to and including version 5.13.4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function CJBig2Image::expand() and results in a memory corruption that leads to code execution when parsing a crafted PDF book.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-30354
BreachSpider IDBS-2021-GLOBAL-075144-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published2021-09-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

CWE-680: CWE-680

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-680

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-680

CAPEC-10 Buffer Overflow via Environment Variables via CWE-680

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-680

CAPEC-24 Filter Failure through Buffer Overflow via CWE-680

Show all 11

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-680

CAPEC-46 Overflow Variables and Tags via CWE-680

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-680

CAPEC-67 String Format Overflow in syslog() via CWE-680

CAPEC-92 Forced Integer Overflow via CWE-190, CWE-680

CAPEC-100 Overflow Buffers via CWE-680

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Amazon Kindle e-reader versions prior to and including 5.13.4 are vulnerable to a Heap-Based Buffer Overflow due to an Integer Overflow in the CJBig2Image::expand() function when parsing a crafted PDF book, leading to memory corruption and potential code execution.

An attacker can exploit this vulnerability by creating a malicious PDF file that, when opened on a vulnerable Kindle device, triggers the buffer overflow and executes arbitrary code on the device.

Questions

What is CVE-2021-30354?

Amazon Kindle e-reader versions prior to and including 5.13.4 are vulnerable to a Heap-Based Buffer Overflow due to an Integer Overflow in the CJBig2Image::expand() function when parsing a crafted PDF book, leading to memory corruption and potential code execution.

What is the CVSS score for CVE-2021-30354?

CVE-2021-30354 has CVSS 8.6 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. EPSS: 8.4%.

Is CVE-2021-30354 actively exploited?

No confirmed active exploitation of CVE-2021-30354 as of 2026-09-25.

How do I remediate CVE-2021-30354?

Priority: IMMEDIATE.

What systems are affected by CVE-2021-30354?

CVE-2021-30354 affects Amazon Kindle.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Amazon","product":"Kindle","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.