Memory leak in the embedded_profile_len function in pngwutil.c in libpng before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-401.
Summary
Memory leak in the embedded_profile_len function in pngwutil.c in libpng before 1.2.39beta5 allows context-dependent attackers to cause a denial of service (memory leak or segmentation fault) via a JPEG image containing an iCCP chunk with a negative embedded profile length. NOTE: this is due to an incomplete fix for CVE-2006-7244.
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 · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* | up to 1.2.38 | Vulnerable | pnggroup |
| cpe:2.3:a:libpng:libpng:1.2.39:-:*:*:*:*:*:* | 1.2.39 | Vulnerable | pnggroup |
| cpe:2.3:a:libpng:libpng:1.2.39:beta1:*:*:*:*:*:* | 1.2.39 beta1 | Vulnerable | pnggroup |
| cpe:2.3:a:libpng:libpng:1.2.39:beta2:*:*:*:*:*:* | 1.2.39 beta2 | Vulnerable | pnggroup |
| cpe:2.3:a:libpng:libpng:1.2.39:beta3:*:*:*:*:*:* | 1.2.39 beta3 | Vulnerable | pnggroup |
| cpe:2.3:a:libpng:libpng:1.2.39:beta4:*:*:*:*:*:* | 1.2.39 beta4 | Vulnerable | pnggroup |
- cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* Versions up to 1.2.38 Vulnerable ·pnggroup
- cpe:2.3:a:libpng:libpng:1.2.39:-:*:*:*:*:*:* Versions 1.2.39 Vulnerable ·pnggroup
- cpe:2.3:a:libpng:libpng:1.2.39:beta1:*:*:*:*:*:* Versions 1.2.39 beta1 Vulnerable ·pnggroup
- cpe:2.3:a:libpng:libpng:1.2.39:beta2:*:*:*:*:*:* Versions 1.2.39 beta2 Vulnerable ·pnggroup
- cpe:2.3:a:libpng:libpng:1.2.39:beta3:*:*:*:*:*:* Versions 1.2.39 beta3 Vulnerable ·pnggroup
- cpe:2.3:a:libpng:libpng:1.2.39:beta4:*:*:*:*:*:* Versions 1.2.39 beta4 Vulnerable ·pnggroup
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2009-5063
- 2026-10-03 Alias added: GHSA-w9jf-3rvw-rjrv
References
More pnggroup Libpng vulnerabilities
- TI-2011-02683 Integer signedness error in the png_inflate function in pngrutil.c in libpng before… CVSS 3.1HIGH 8.8
- TI-2010-01161 Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in… CVSS 3.1CRITICAL 9.8
- TI-2026-20746 LIBPNG has a heap buffer overflow in png_set_quantize CVSS 4.0HIGH 8.3
- TI-2025-40204 LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read` CVSS 3.1HIGH 7.1
- TI-2025-40767 LIBPNG has an out-of-bounds read in png_image_read_composite CVSS 3.1HIGH 7.1
- TI-2025-40066 LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication CVSS 3.1HIGH 7.1
Sources
- CVE-2009-5063 · CVE Program
- CVE-2009-5063 · NVD
- FIRST EPSS
- GHSA-w9jf-3rvw-rjrv · GitHub Advisory Database · CC BY 4.0
- CVE-2009-5063 · 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