JLSEC-2026-95

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-95.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-95.json
JSON Data
https://api.test.osv.dev/v1/vulns/JLSEC-2026-95
Upstream
Published
2026-04-13T16:33:44.265Z
Modified
2026-04-13T16:45:05.350555Z
Summary
[none]
Details

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. In versions 1.2.1 through 1.6.55, png_set_tRNS and png_set_PLTE each alias a heap-allocated buffer between png_struct and png_info, sharing a single allocation across two structs with independent lifetimes. The trans_alpha aliasing has been present since at least libpng 1.0, and the palette aliasing since at least 1.2.1. Both affect all prior release lines png_set_tRNS sets png_ptr->trans_alpha = info_ptr->trans_alpha (256-byte buffer) and png_set_PLTE sets info_ptr->palette = png_ptr->palette (768-byte buffer). In both cases, calling png_free_data (with PNG_FREE_TRNS or PNG_FREE_PLTE) frees the buffer through info_ptr while the corresponding png_ptr pointer remains dangling. Subsequent row-transform functions dereference and, in some code paths, write to the freed memory. A second call to png_set_tRNS or png_set_PLTE has the same effect, because both functions call png_free_data internally before reallocating the info_ptr buffer. Version 1.6.56 fixes the issue.

Database specific
{
    "sources": [
        {
            "published": "2026-03-26T17:16:38.443Z",
            "modified": "2026-04-02T20:28:33.973Z",
            "id": "CVE-2026-33416",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-33416",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33416",
            "imported": "2026-04-13T16:22:04.638Z"
        }
    ],
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / libpng_jll

Package

Name
libpng_jll
Purl
pkg:julia/libpng_jll?uuid=b53b4c65-9356-5827-b1ea-8c7a1a84506f

Affected ranges

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

Database specific

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