[CVE-2025-64031] libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer

CVE-2025-64031 | CVSS: 2.5 | 严重级别: LOW

libarchive 3.8.x before 3.8.2 has a strcpy heap-based buffer overflow in the gzip writer via the original-filename field to archive_compressor_gzip_open in archive_write_add_filter_gzip.c, aka GHSA-92wx-p669-8gr9. This relates to bsdtar. Exploitation envisions a marginally plausible scenario in which original-filename is obtained from an untrusted party. (original-filename is not derived from the input data.)

参考链接:
https://gist.github.com/ttuurrnn/1365a4a9b1c3d5826a3a9bbe111f26b8
https://github.com/libarchive/libarchive/blob/master/libarchive/archive_write_ad
https://github.com/libarchive/libarchive/pull/2734

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部