JLSEC-2026-845

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-845.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-845.json
JSON Data
https://api.test.osv.dev/v1/vulns/JLSEC-2026-845
Upstream
Published
2026-07-30T16:02:27.435Z
Modified
2026-07-30T18:23:54.080594210Z
Severity
Summary
[none]
Details

WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buffer-overflow. This occurs because it is possible for the colormap to have less than 256 valid values but the loop condition will loop 256 times, attempting to pass invalid colormap data to the event logger. The patch replaces the hardcoded 256 value with a call to MagickMin() to ensure the proper value is used. This could impact application availability when a specially crafted input file is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.

Database specific
{
    "sources": [
        {
            "modified": "2026-06-17T03:07:06.397Z",
            "imported": "2026-07-30T14:08:42.300Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-25674",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25674",
            "published": "2020-12-08T22:15:17.320Z",
            "database_specific": {
                "status": "Modified"
            },
            "id": "CVE-2020-25674"
        }
    ],
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / ImageMagick_jll

Package

Name
ImageMagick_jll
Purl
pkg:julia/ImageMagick_jll?uuid=c73af94c-d91f-53ed-93a7-00f77d67a9d7

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.9.12+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-845.json"