DEV Community

CVE Reports
CVE Reports

Posted on Originally published at cvereports.com

CVE-2026-103025: CVE-2026-103025: Unbounded Memory Allocation and Decompression Bomb in bep/imagemeta PNG Parser

CVE-2026-103025: Unbounded Memory Allocation and Decompression Bomb in bep/imagemeta PNG Parser

Vulnerability ID: CVE-2026-103025
CVSS Score: 8.7
Published: 2026-11-20

CVE-2026-103025 (GHSA-7hvw-3c2q-45qg) is a high-severity denial-of-service (DoS) vulnerability in github.com/bep/imagemeta prior to version 0.17.3. The PNG metadata parser fails to validate declared chunk lengths prior to heap buffer allocation (CWE-789) and inflates zlib-compressed zTXt IPTC chunks without an output size limit (CWE-409). Additionally, out-of-bounds slice indexing in the PNG zTXt handler and IPTC character set resolver allows remote attackers to trigger runtime panics.

TL;DR

Unbounded buffer allocation, unrestricted zlib decompression, and out-of-bounds slice indexing in github.com/bep/imagemeta < v0.17.3 allow unauthenticated remote attackers to cause out-of-memory (OOM) termination or runtime panics via crafted PNG zTXt chunks.


Mitigation Strategies


Read the full report for CVE-2026-103025 on our website for more details including interactive diagrams and full exploit analysis.

Top comments (0)