CVE-2007-2645 (CNNVD-200705-275)
中文标题:
LibEXIF exif_data_load_data_entry函数远程整数溢出漏洞
英文标题:
Integer overflow in the exif_data_load_data_entry function in exif-data.c in libexif before 0.6.14 a...
漏洞描述
中文描述:
ibexif是用C编的函数库,用于从图形文件中读写EXIF元信息。 libexif在处理图形文件中的畸形EXIF信息时存在整数溢出漏洞,远程攻击者可能利用此漏洞控制客户机。 如果用户受骗打开了恶意的图形文件的话,就可能触发这个溢出,导致使用该函数库的应用程序崩溃或执行任意指令。漏洞代码位于libexif/exif-data.c文件186行的exif_data_load_data_entry()函数: /* Sanity check */ if (size < doff + s) return; entry->data = exif_data_alloc (data, s); if (entry->data) { entry->size = s; memcpy (entry->data, d + doff, s); } 对于以下例子: s=296 doff=4294901874 s=65535 doff+s是4294967409,这个值小于s,而C语言使用2的32次方(2^sizeof(int))算法,因此doff+s为113。
英文描述:
Integer overflow in the exif_data_load_data_entry function in exif-data.c in libexif before 0.6.14 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted EXIF data, involving the (1) doff or (2) s variable.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| libexif | libexif | 0.5 | - | - |
cpe:2.3:a:libexif:libexif:0.5:*:*:*:*:*:*:*
|
| libexif | libexif | 0.5.12 | - | - |
cpe:2.3:a:libexif:libexif:0.5.12:*:*:*:*:*:*:*
|
| libexif | libexif | 0.6.9 | - | - |
cpe:2.3:a:libexif:libexif:0.6.9:*:*:*:*:*:*:*
|
| libexif | libexif | 0.6.11 | - | - |
cpe:2.3:a:libexif:libexif:0.6.11:*:*:*:*:*:*:*
|
| libexif | libexif | 0.6.12 | - | - |
cpe:2.3:a:libexif:libexif:0.6.12:*:*:*:*:*:*:*
|
| libexif | libexif | 0.6.13 | - | - |
cpe:2.3:a:libexif:libexif:0.6.13:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
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
exploitdb
exploitdb
cve.org
CVSS评分详情
AV:N/AC:M/Au:N/C:C/I:C/A:C
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2007-2645 |
2025-11-11 15:17:52 | 2025-11-11 07:32:43 |
| NVD | nvd_CVE-2007-2645 |
2025-11-11 14:52:10 | 2025-11-11 07:41:29 |
| CNNVD | cnnvd_CNNVD-200705-275 |
2025-11-11 15:08:56 | 2025-11-11 07:49:17 |
| EXPLOITDB | exploitdb_EDB-30024 |
2025-11-11 15:05:24 | 2025-11-11 08:25:19 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 22 -> 25
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200705-275
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.CRITICAL
- cvss_score: 未提取 -> 9.3
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:M/Au:N/C:C/I:C/A:C
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 6
- data_sources: ['cve'] -> ['cve', 'nvd']