POJIA破甲
地图 / Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) could lead to memory leak

Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) could lead to memory leak

内存破坏 / 缓冲区越界读 / #480778

厂商
Internet Bug Bounty
严重程度
中危 · CVSS 7.5
赏金
—
弱点
缓冲区越界读
研究员
@tmnt53
披露日期
2019-10-24
资产
Perl (Legacy)
CVE
CVE-2018-6797CVE-2018-6798

该报告还没有中文解读。

原文摘录

摘自原文(3498 字符中的一小部分)
With crafted regex match, I have found a heap-over-flow in function Perl__byte_dump_string, which would lead to memory leak. * Reported to the [Perl security mailing list](https://rt.perl.org/Public/Bug/Display.html?id=132063) on 11 Sep 2017. * Confirmed as a security flaw by TonyC on 24 Feb 2018 * …
原文中的代码
=================================================================
==2895==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xb610081c at pc 0x08a72387 bp 0xbfea6038 sp 0xbfea602c
WRITE of size 4 at 0xb610081c thread T0
    #0 0x8a72386 in S_pack_rec /root/karas/perl5-blead/pp_pack.c:2703:17 …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @tmnt53 · 版权归作者与 Internet Bug Bounty 所有

同类报告

Heap Buffer Overflow (READ: 4) in phar_parse_pharfileInternet Bug Bounty · 2020-10-10Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflowInternet Bug Bounty · 2020-10-12 · $1,500CVE-2024-7264: ASN.1 date parser overreadcurl · 2024-08-01CVE-2024-7347: Buffer overread in the ngx_http_mp4_moduleInternet Bug Bounty · 2024-08-27 · $2,142apache access.log leakage via long request on https://rapida.ru/QIWI · —CVE-2025-9086: Out of bounds read for cookie pathcurl · 2025-09-10