Skip to content

[GHSA-8623-9fwr-4cxv] Quick-Media Batik Codec FIX package has Code Injection vulnerability#7437

Closed
carlosame wants to merge 1 commit intocarlosame/advisory-improvement-7437from
carlosame-GHSA-8623-9fwr-4cxv
Closed

[GHSA-8623-9fwr-4cxv] Quick-Media Batik Codec FIX package has Code Injection vulnerability#7437
carlosame wants to merge 1 commit intocarlosame/advisory-improvement-7437from
carlosame-GHSA-8623-9fwr-4cxv

Conversation

@carlosame
Copy link
Copy Markdown

Updates

  • Affected products
  • CVSS v4
  • CWEs
  • Severity

Comments
All the explanation that is given about this vulnerability is a patch (liuyueyi/quick-media@e52fcee) which results in a compilation error. The code which was patched was correct:

https://github.com/liuyueyi/quick-media/blob/f600bc7960f957df4c4d53c3bb414c571f4c190d/plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGImageEncoder.java#L91-L93

and the PNGImageEncoder.java file cannot be compiled after the patch, because it references a buffer field which is not there. Actually, that tree is not even compiled during the quick-media build so no one noticed. The patch was most likely intended to apply to a different write method:

https://github.com/liuyueyi/quick-media/blob/f600bc7960f957df4c4d53c3bb414c571f4c190d/plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGImageEncoder.java#L238

But even if the checks were added there, the practical difference would be that in case of a negative len the code would silently do nothing instead of throwing an exception, which is what it is supposed to do. The security implications are unclear, if any (again we are talking about a file which is not part of the deliverables of that project).

This "Code Injection vulnerability" is bogus.

@github-actions github-actions Bot changed the base branch from main to carlosame/advisory-improvement-7437 April 19, 2026 16:47
@helixplant
Copy link
Copy Markdown

Hi,
We understand you disagree with the advisory, if you want to dispute it please request a change to the CVE record, and reach out to the assigning CNA.

@helixplant helixplant closed this Apr 22, 2026
@github-actions github-actions Bot deleted the carlosame-GHSA-8623-9fwr-4cxv branch April 22, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants