CVE-2026-116155:通过特制 XMP 配置文件导致 ImageMagick 内存泄漏

Lobsters Hottest 新闻

摘要

CVE-2026-116155 披露了 ImageMagick 的 ParseInternalDoctype 中存在的内存泄漏漏洞,其中,来自特制 XMP DOCTYPE 内部子集的参数实体值始终未被释放;建议用户升级至 ImageMagick 7.1.2-33 或 6.9.13-58,或通过 policy.xml 禁用 XMP 配置文件。

<p><a href="https://lobste.rs/s/bnok4r/cve_2026_116155_imagemagick_memory_leak">评论</a></p>
查看原文
查看缓存全文

缓存时间: 2026/10/31 15:25

# CVE-2026-116155:通过特制 XMP 配置文件导致 ImageMagick 内存泄漏 | AgileHunt 来源:https://www.agilehunt.com/blog/imagemagick-cve-2026-116155-xmp-profile-parameter-entity-memory-leak ## CVE\-2026\-116155:特制 XMP 配置文件在 ParseInternalDoctype 中导致 ImageMagick 内存泄漏 ParseInternalDoctype 将 XMP DOCTYPE 内部子集中的参数实体值存储在一个局部向量中,并在 xml\-tree\.c:1565 处释放该向量,但从未销毁其持有的值字符串——无论执行成功还是出错,每个 <\!ENTITY %\> 的值都会泄漏。 升级至 ImageMagick 7\.1\.2\-33 或 6\.9\.13\-58,并通过 policy\.xml 拒绝 XMP 配置文件作为临时措施。 - 平台 (https://www.agilehunt.com/platform) - 流程 (https://www.agilehunt.com/process) - 合规 (https://www.agilehunt.com/compliance) - 定价 (https://www.agilehunt.com/pricing) - 服务 (https://www.agilehunt.com/services/web-application-penetration-testing) - 博客 (https://www.agilehunt.com/blog) - 攻击手册 (https://www.agilehunt.com/attack-handbook) - 联系我们 (https://www.agilehunt.com/contact) - Web 应用程序测试 (https://www.agilehunt.com/services/web-application-penetration-testing) - API 安全测试 (https://www.agilehunt.com/services/api-security-testing) - AI 渗透测试 (https://www.agilehunt.com/services/ai-penetration-testing) - 云安全评估 (https://www.agilehunt.com/services/cloud-security-assessment) - AgileHunt 与 Cobalt 对比 (https://www.agilehunt.com/compare/cobalt-alternative) - AgileHunt 与 Bugcrowd 对比 (https://www.agilehunt.com/compare/bugcrowd-alternative) - AgileHunt 与 HackerOne 对比 (https://www.agilehunt.com/compare/hackerone-alternative)

相似文章

PHP session.upload_progress 堆释放后利用漏洞(CVE-2026-109618 / -109619)

Hacker News Top

PHP 的 session.upload_progress 处理程序中存在一个堆释放后使用(UAF)漏洞(CVE-2026-109618 / -109619),攻击者可借此劫持已释放的桶指针,并通过 zend_call_function 实现远程代码执行;本文包含针对 PHP 8.4.4 和 8.2.34 的已验证 PoC 利用链,以及补丁发布前的缓解措施。