openexr — security advisory
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, the HTJ2K (High-Throughput JPEG 2000) decoder, ht_undo_impl() in OpenEXRCore is vulnerable to a heap-buffer-overflow READ. The ht_undo_imp function copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this — it pulls width 32-bit samples from cur_line->i32[] without checking the OpenJPH line buffer's actual length. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The bug is reachable through the standard scanline-decode entry point used by every consumer of exr_decoding_run/Imf::checkOpenEXRFile, including thumbnailers, asset pipelines, and the exrcheck utility — i.e. any application that opens untrusted EXR files. The result is a deterministic crash (DoS) and potential adjacent-heap leak. This issue has been fixed in version 3.4.12.
- Products
- openexr
- Affected versions
- 2.2.0-10ubuntu2, 2.2.0-10ubuntu2.1, 2.2.0-10ubuntu2.2, 2.2.0-10ubuntu2.3, 2.2.0-10ubuntu2.4, 2.2.0-10ubuntu2.6, 2.2.0-10ubuntu2.6+esm1, 2.2.0-10ubuntu2.6+esm2, 2.2.0-10ubuntu2.6+esm3, 2.2.0-10ubuntu2.6+esm4, 2.2.0-11.1ubuntu1, 2.2.0-11.1ubuntu1.1, 2.2.0-11.1ubuntu1.2, 2.2.0-11.1ubuntu1.3, 2.2.0-11.1ubuntu1.4, 2.2.0-11.1ubuntu1.6, 2.2.0-11.1ubuntu1.7, 2.2.0-11.1ubuntu1.8, 2.2.0-11.1ubuntu1.9, 2.2.0-11.1ubuntu1.9+esm1, 2.2.0-11ubuntu1, 2.2.0-1ubuntu3, 2.2.0-7ubuntu1, 2.2.0-9ubuntu1, 2.2.1-4.1ubuntu1, 2.3.0-6, 2.3.0-6build1, 2.3.0-6ubuntu0.1, 2.3.0-6ubuntu0.2, 2.3.0-6ubuntu0.3, 2.3.0-6ubuntu0.5, 2.3.0-6ubuntu0.5+esm1, 2.3.0-6ubuntu0.5+esm2, 2.5.4-2, 2.5.7-1, 2.5.7-1ubuntu0.1~esm1, 2.5.7-1ubuntu0.1~esm2, 3.1.13-2, 3.1.13-2build1, 3.1.13-2ubuntu0.26.04.1~esm1, 3.1.5-5.1, 3.1.5-5.1build1, 3.1.5-5.1build2, 3.1.5-5.1build3, 3.1.5-5.1ubuntu0.1~esm1, 3.4.6+ds-4ubuntu3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45696
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:14 UTC · Revision 1
Source evidence
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, the HTJ2K (High-Throughput JPEG 2000) decoder, ht_undo_impl() in OpenEXRCore is vulnerable to a heap-buffer-overflow READ. The ht_undo_imp function copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this — it pulls width 32-bit samples from cur_line->i32[] without checking the OpenJPH line buffer's actual length. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The bug is reachable through the standard scanline-decode entry point used by every consumer of exr_decoding_run/Imf::checkOpenEXRFile, including thumbnailers, asset pipelines, and the exrcheck utility — i.e. any application that opens untrusted EXR files. The result is a deterministic crash (DoS) and potential adjacent-heap leak. This issue has been fixed in version 3.4.12.
osv:UBUNTU-CVE-2026-45696
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
openexr
Fixed versions: Not specified
Complete source record
{
"id": "44b4e1549d64cbf6ce1213a691f74fc7d46b111c18e42822f06bdb4037621108",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-45696",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-45696",
"summary": "OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, the HTJ2K (High-Throughput JPEG 2000) decoder, ht_undo_impl() in OpenEXRCore is vulnerable to a heap-buffer-overflow READ. The ht_undo_imp function copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this — it pulls width 32-bit samples from cur_line->i32[] without checking the OpenJPH line buffer's actual length. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The bug is reachable through the standard scanline-decode entry point used by every consumer of exr_decoding_run/Imf::checkOpenEXRFile, including thumbnailers, asset pipelines, and the exrcheck utility — i.e. any application that opens untrusted EXR files. The result is a deterministic crash (DoS) and potential adjacent-heap leak. This issue has been fixed in version 3.4.12.",
"evidence": "osv:UBUNTU-CVE-2026-45696",
"products": [
{
"name": {
"value": "openexr",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.0-1ubuntu3",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-7ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-9ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.2",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.3",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.4",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.6",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.6+esm1",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.6+esm2",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.6+esm3",
"evidence": "/affected/0/versions"
},
{
"value": "2.2.0-10ubuntu2.6+esm4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.0-11ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.1",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.2",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.3",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.4",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.6",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.7",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.8",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.9",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.0-11.1ubuntu1.9+esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-4.1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6build1",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.2",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.3",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.5",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.5+esm1",
"evidence": "/affected/2/versions"
},
{
"value": "2.3.0-6ubuntu0.5+esm2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.4-2",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.7-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.7-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
},
{
"value": "2.5.7-1ubuntu0.1~esm2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.5-5.1",
"evidence": "/affected/4/versions"
},
{
"value": "3.1.5-5.1build1",
"evidence": "/affected/4/versions"
},
{
"value": "3.1.5-5.1build2",
"evidence": "/affected/4/versions"
},
{
"value": "3.1.5-5.1build3",
"evidence": "/affected/4/versions"
},
{
"value": "3.1.5-5.1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.13-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.13-2build1",
"evidence": "/affected/6/versions"
},
{
"value": "3.4.6+ds-4ubuntu3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "openexr",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.13-2",
"evidence": "/affected/7/versions"
},
{
"value": "3.1.13-2build1",
"evidence": "/affected/7/versions"
},
{
"value": "3.1.13-2ubuntu0.26.04.1~esm1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-45696",
"aliases": [
"UBUNTU-CVE-2026-45696"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-infra%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"2.2.0-1ubuntu3",
"2.2.0-7ubuntu1",
"2.2.0-9ubuntu1",
"2.2.0-10ubuntu2",
"2.2.0-10ubuntu2.1",
"2.2.0-10ubuntu2.2",
"2.2.0-10ubuntu2.3",
"2.2.0-10ubuntu2.4",
"2.2.0-10ubuntu2.6",
"2.2.0-10ubuntu2.6+esm1",
"2.2.0-10ubuntu2.6+esm2",
"2.2.0-10ubuntu2.6+esm3",
"2.2.0-10ubuntu2.6+esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr22",
"binary_version": "2.2.0-10ubuntu2.6+esm4"
},
{
"binary_name": "openexr",
"binary_version": "2.2.0-10ubuntu2.6+esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-infra%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"2.2.0-11ubuntu1",
"2.2.0-11.1ubuntu1",
"2.2.0-11.1ubuntu1.1",
"2.2.0-11.1ubuntu1.2",
"2.2.0-11.1ubuntu1.3",
"2.2.0-11.1ubuntu1.4",
"2.2.0-11.1ubuntu1.6",
"2.2.0-11.1ubuntu1.7",
"2.2.0-11.1ubuntu1.8",
"2.2.0-11.1ubuntu1.9",
"2.2.0-11.1ubuntu1.9+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr22",
"binary_version": "2.2.0-11.1ubuntu1.9+esm1"
},
{
"binary_name": "openexr",
"binary_version": "2.2.0-11.1ubuntu1.9+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"2.2.1-4.1ubuntu1",
"2.3.0-6",
"2.3.0-6build1",
"2.3.0-6ubuntu0.1",
"2.3.0-6ubuntu0.2",
"2.3.0-6ubuntu0.3",
"2.3.0-6ubuntu0.5",
"2.3.0-6ubuntu0.5+esm1",
"2.3.0-6ubuntu0.5+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr24",
"binary_version": "2.3.0-6ubuntu0.5+esm2"
},
{
"binary_name": "openexr",
"binary_version": "2.3.0-6ubuntu0.5+esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.5.4-2",
"2.5.7-1",
"2.5.7-1ubuntu0.1~esm1",
"2.5.7-1ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr25",
"binary_version": "2.5.7-1ubuntu0.1~esm2"
},
{
"binary_name": "openexr",
"binary_version": "2.5.7-1ubuntu0.1~esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"3.1.5-5.1",
"3.1.5-5.1build1",
"3.1.5-5.1build2",
"3.1.5-5.1build3",
"3.1.5-5.1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr-3-1-30",
"binary_version": "3.1.5-5.1ubuntu0.1~esm1"
},
{
"binary_name": "openexr",
"binary_version": "3.1.5-5.1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.1.13-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr-3-1-30",
"binary_version": "3.1.13-2"
},
{
"binary_name": "openexr",
"binary_version": "3.1.13-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.1.13-2build1",
"3.4.6+ds-4ubuntu3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr-3-4-33",
"binary_version": "3.4.6+ds-4ubuntu3"
},
{
"binary_name": "openexr",
"binary_version": "3.4.6+ds-4ubuntu3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "openexr",
"purl": "pkg:deb/ubuntu/openexr?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"3.1.13-2",
"3.1.13-2build1",
"3.1.13-2ubuntu0.26.04.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45696.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libopenexr-3-1-30",
"binary_version": "3.1.13-2ubuntu0.26.04.1~esm1"
},
{
"binary_name": "openexr",
"binary_version": "3.1.13-2ubuntu0.26.04.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:58:22.885289103Z",
"provider": "osv",
"upstream": [
"CVE-2026-45696"
],
"references": [
"https://ubuntu.com/security/CVE-2026-45696",
"https://www.cve.org/CVERecord?id=CVE-2026-45696",
"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-gjpj-qv64-vwhf",
"https://github.com/AcademySoftwareFoundation/openexr/pull/2397",
"https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.12"
]
},
"related_cves": [
{
"value": "CVE-2026-45696",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358634,
"published_at": "2026-06-18T21:16:00+00:00"
}