The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an "invalid free."
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:1.3:*:*:*:*:*:*:* | 1.3 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:a:uclouvain:openjpeg:1.4:*:*:*:*:*:*:* | 1.4 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:a:uclouvain:openjpeg:1.5:*:*:*:*:*:*:* | 1.5 | Vulnerable | The OpenJPEG Project |
- cpe:2.3:a:uclouvain:openjpeg:1.3:*:*:*:*:*:*:* Versions 1.3 Vulnerable ·The OpenJPEG Project
- cpe:2.3:a:uclouvain:openjpeg:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·The OpenJPEG Project
- cpe:2.3:a:uclouvain:openjpeg:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·The OpenJPEG Project
Remediation
Red Hat 1 advisory
- RHSA-2012:1068 Released 2012-07-11 · Red Hat rating Importantopenjpeg security update
- Red Hat Enterprise Linux Desktop (v. 6) openjpeg-1.3-8.el6_3, openjpeg-libs-1.3-8.el6_3
- Red Hat Enterprise Linux Desktop Optional (v. 6) openjpeg-1.3-8.el6_3, openjpeg-devel-1.3-8.el6_3
- Red Hat Enterprise Linux HPC Node (v. 6) openjpeg-1.3-8.el6_3, openjpeg-libs-1.3-8.el6_3
- Red Hat Enterprise Linux HPC Node Optional (v. 6) openjpeg-1.3-8.el6_3, openjpeg-devel-1.3-8.el6_3
- Red Hat Enterprise Linux Server (v. 6) openjpeg-1.3-8.el6_3, openjpeg-libs-1.3-8.el6_3, openjpeg-libs-1.3-8.el6_3.ppc
- Red Hat Enterprise Linux Server Optional (v. 6) openjpeg-1.3-8.el6_3, openjpeg-devel-1.3-8.el6_3, openjpeg-devel-1.3-8.el6_3.ppc
- Red Hat Enterprise Linux Workstation (v. 6) openjpeg-1.3-8.el6_3, openjpeg-libs-1.3-8.el6_3
- Red Hat Enterprise Linux Workstation Optional (v. 6) openjpeg-1.3-8.el6_3, openjpeg-devel-1.3-8.el6_3
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:1068 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2012:1068 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-5030
- 2026-10-03 Alias added: GHSA-5f2v-78x3-pvgj
References
More The OpenJPEG Project Openjpeg vulnerabilities
- TI-2025-34608 OpenJPEG allows OOB heap memory write in opj_jp2_read_header CVSS 4.0MEDIUM 6.6
- TI-2025-32278 openjpeg v 2.5.0 was discovered to contain a NULL pointer dereference via the component /openjp2/dwt.c. CVSS 3.1MEDIUM 6.5
- TI-2012-02889 Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG… CVSS 2.0HIGH 10.0
- TI-2017-12771 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume… CVSS 3.1CRITICAL 9.8
- TI-2017-12770 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage… CVSS 3.0CRITICAL 9.8
- TI-2015-07301 Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2009-5030 · CVE Program
- CVE-2009-5030 · NVD
- FIRST EPSS
- GHSA-5f2v-78x3-pvgj · GitHub Advisory Database · CC BY 4.0
- CVE-2009-5030 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences