Vulnerabilities in pkg:maven/com.github.liuyueyi.media/batik-codec-fix
PACKAGECVE-2026-24807 is a MODERATE quick-media batik codec fix package vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Batik codec fix libraries in the Maven ecosystem. The issue involves quick-media batik codec fix package has buffer overflow vulnerability in png codec. Remediation is available in the latest vendor maintenance releases.
pkg:maven/com.github.liuyueyi.media/batik-codec-fix
Vulnerability advisories affecting package pkg:maven/com.github.liuyueyi.media/batik-codec-fix. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-23f4-hfmq-94mj | CVE-2026-24807 | MODERATE | Quick-Media Batik Codec FIX Package has Buffer Overflow Vulnerability in PNG Codec |
| GHSA-8623-9fwr-4cxv | CVE-2026-24806 | MODERATE | Quick-Media Batik Codec FIX package has Code Injection vulnerability |
CVE-2026-24807 at a Glance
How to Fix CVE-2026-24807
To remediate this vulnerability, upgrade all affected Batik codec fix dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.github.liuyueyi.media</groupId>
<artifactId>batik-codec-fix</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.github.liuyueyi.media
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-24807, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.github.liuyueyi.media
Analyze the terminal output to locate any version of Batik codec fix in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.github.liuyueyi.media command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Batik codec fix, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-24807 Affected Batik codec fix Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.github.liuyueyi.media:batik-codec-fix
|
Maven |
≤ 3.0.0
|
|
References
Frequently Asked Questions
What is CVE-2026-24807?
Which Batik codec fix versions are affected?
What version fixes CVE-2026-24807?
Is batik-codec-fix affected?
What CWE is associated with CVE-2026-24807?
How can I check Maven dependencies for CVE-2026-24807?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-23f4-hfmq-94mj",
"modified" : "2026-01-28T15:58:39Z",
"published" : "2026-01-27T09:30:30Z",
"aliases" : [ "CVE-2026-24807" ],
"summary" : "Quick-Media Batik Codec FIX Package has Buffer Overflow Vulnerability in PNG Codec",
"details" : "Improper Verification of Cryptographic Signature vulnerability in liuyueyi quick-media (plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/util modules). This vulnerability is associated with program files SeekableOutputStream.Java.\n\nThis issue affects all versions of quick-media. A patch is available: [3970e96](https://github.com/liuyueyi/quick-media/pull/123/commits/3970e967f6661328a5544fd0b977dac1a35e380b)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:M/U:Amber"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.github.liuyueyi.media:batik-codec-fix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24807"
}, {
"type" : "WEB",
"url" : "https://github.com/liuyueyi/quick-media/pull/123"
}, {
"type" : "WEB",
"url" : "https://github.com/liuyueyi/quick-media/commit/3970e967f6661328a5544fd0b977dac1a35e380b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/liuyueyi/quick-media"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120", "CWE-190" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-28T15:58:39Z",
"nvd_published_at" : "2026-01-27T09:15:50Z"
}
}