The buffer created for parsing metadata for PNG and WebP images was only bounded by their input data type, which could lead to potentially large memory allocation, and unreasonably high for image metadata. Before v0.11.0
, If you didn't trust the input images, this could be abused to construct denial-of-service attacks.
v0.11.0
added a 10 MB upper limit.
{ "nvd_published_at": "2025-04-08T16:15:27Z", "cwe_ids": [ "CWE-770" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-04-09T12:57:56Z" }