GHSA-fmhh-rw3h-785m — imagemeta
Fix: bep/imagemeta@ee0de9bGHSA-fmhh-rw3h-785m is a CWE-770 vulnerability in github.com/bep/imagemeta. A fix is available for github.com/bep/imagemeta — see the affected versions and patch details below.
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-fmhh-rw3h-785m.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
github.com/bep/imagemetaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
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.
Patches
v0.11.0 added a 10 MB upper limit.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/bep/imagemeta | all versions | 0.11.0go get github.com/bep/imagemeta@v0.11.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/bep/imagemeta, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/bep/imagemeta to 0.11.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-fmhh-rw3h-785m is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-fmhh-rw3h-785m can be triaged on real exposure rather than presence alone.
Tailored to GHSA-fmhh-rw3h-785m. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-fmhh-rw3h-785m in your dependencies?
O3 Security finds GHSA-fmhh-rw3h-785m across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.