CVE-2009-0040 (CNNVD-200902-488)
中文标题:
Libpng库未初始化指针数组内存破坏漏洞
英文标题:
The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in pngcrush a...
漏洞描述
中文描述:
libpng是一个可对PNG图形文件实现创建、读写等操作的PNG参考库。 如果应用程序耗尽内存的话,libpng库在释放数组单元之前没有正确地初始化某些指针数组,这可能导致内存破坏。 在malloc包含有N个单元的数组时: for (i=0; ilt;N; i++) malloc element[i]; 如果应用程序在循环期间耗尽了内存的话,就不会初始化一些单元指针,之后Libpng会跳转到一个试图释放数组中所有单元(包括未初始化的区)的cleanup进程。 libpng库存在5种出现bug的情况。一种在png_read_png()函数中,仅有明确调用png_read_png()的应用才受影响;另一种情况为pCAL块处理器,任何没有禁止通过调用set_keep_unknown_chunks()来处理pCAL块的应用都受影响;其他三种情况为创建16位gamma表的代码,即使使用png_set_strip_16()将16位输入降为8位所有的应用块也都受这三种情况的影响,这是由libpng执行转换的次序决定的。
英文描述:
The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in pngcrush and other applications, allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file that triggers a free of an uninitialized pointer in (1) the png_read_png function, (2) pCAL chunk handling, or (3) setup of 16-bit gamma tables.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| libpng | libpng | * | - | - |
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*
|
| apple | iphone_os | * | - | - |
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
|
| apple | mac_os_x | * | - | - |
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
|
| opensuse | opensuse | 10.3 | - | - |
cpe:2.3:o:opensuse:opensuse:10.3:*:*:*:*:*:*:*
|
| opensuse | opensuse | 11.0 | - | - |
cpe:2.3:o:opensuse:opensuse:11.0:*:*:*:*:*:*:*
|
| opensuse | opensuse | 11.1 | - | - |
cpe:2.3:o:opensuse:opensuse:11.1:*:*:*:*:*:*:*
|
| suse | linux_enterprise | 9.0 | - | - |
cpe:2.3:o:suse:linux_enterprise:9.0:-:*:*:*:*:*:*
|
| suse | linux_enterprise | 10.0 | - | - |
cpe:2.3:o:suse:linux_enterprise:10.0:-:*:*:*:*:*:*
|
| suse | linux_enterprise_desktop | 10 | - | - |
cpe:2.3:o:suse:linux_enterprise_desktop:10:sp2:*:*:*:*:*:*
|
| suse | linux_enterprise_server | 10 | - | - |
cpe:2.3:o:suse:linux_enterprise_server:10:sp2:*:*:*:*:*:*
|
| debian | debian_linux | 4.0 | - | - |
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
|
| debian | debian_linux | 5.0 | - | - |
cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:*
|
| fedoraproject | fedora | 9 | - | - |
cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*
|
| fedoraproject | fedora | 10 | - | - |
cpe:2.3:o:fedoraproject:fedora:10:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
AV:N/AC:M/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2009-0040 |
2025-11-11 15:18:08 | 2025-11-11 07:32:59 |
| NVD | nvd_CVE-2009-0040 |
2025-11-11 14:52:58 | 2025-11-11 07:41:46 |
| CNNVD | cnnvd_CNNVD-200902-488 |
2025-11-11 15:09:04 | 2025-11-11 07:49:33 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 代码注入
- cnnvd_id: 未提取 -> CNNVD-200902-488
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 6.8
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:M/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 14
- data_sources: ['cve'] -> ['cve', 'nvd']