CVE-2025-32024: Github.com/bep/imagemeta Bep/imagemeta Allows Excessively Large EXIF Vulnerability
MODERATECVE-2025-32024 is a MODERATE bep/imagemeta allows excessively large exif vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/bep/imagemeta libraries in the Go ecosystem. The issue involves bep/imagemeta allows excessively large exif data structures. Remediation is available by upgrading affected packages to version 0.10.0.
CVE-2025-32024 at a Glance
How to Fix CVE-2025-32024
To remediate this vulnerability, upgrade all affected Github.com/bep/imagemeta dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/bep/imagemeta to 0.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/bep/imagemeta
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-32024, inspect your project dependencies for Github.com/bep/imagemeta:
inspect dependencies for github.com/bep/imagemeta
Analyze the terminal output to locate any version of Github.com/bep/imagemeta in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/bep/imagemeta, 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-2025-32024 Affected Github.com/bep/imagemeta Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/bep/imagemeta
|
Go |
< 0.10.0
|
0.10.0
|
References
Frequently Asked Questions
What is CVE-2025-32024?
Which Github.com/bep/imagemeta versions are affected?
What version fixes CVE-2025-32024?
Is github.com/bep/imagemeta affected?
What CWE is associated with CVE-2025-32024?
How can I check Go dependencies for CVE-2025-32024?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q7rw-w4cq-2j6w",
"modified" : "2025-04-09T12:57:44Z",
"published" : "2025-04-09T12:57:44Z",
"aliases" : [ "CVE-2025-32024" ],
"summary" : "bep/imagemeta allows excessively large EXIF data structures",
"details" : "### Impact\nThe EXIF data format allows for defining excessively large data structures in relatively small payloads. Before `v0.10.0`, If you didn't trust the input images, this could be abused to construct denial-of-service attacks.\n\n### Patches\n`v0.10.0` added LimitNumTags (default 5000) and LimitTagSize (default 10000) options.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/bep/imagemeta"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/bep/imagemeta/security/advisories/GHSA-q7rw-w4cq-2j6w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32024"
}, {
"type" : "WEB",
"url" : "https://github.com/bep/imagemeta/commit/4fd89616d8bf7f9bb892360d3fb19080ec2b4602"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bep/imagemeta"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-09T12:57:44Z",
"nvd_published_at" : "2025-04-08T16:15:27Z"
}
}