Perl 的 Text::CSV_XS 模块在 1.46 至 1.65 之间的版本中存在一个“释放后使用”(use-after-free)漏洞。当 函数因 选项跳过一个空行时, 相关的变量会被错误释放。 在使用 时,解析器会将每个字段写入调用者提供的标量变量中,而不会对该标量持有引用。当 跳过末尾的空行时,解析器会释放当前字段对应的标量变量,却未检查该标量是否已被绑定,从而导致应用程序对该变量的引用计数减少。在"eof"模式下,任何空行都会触发相同的错误行为。 由于该变量在应用程序仍持有其引用时就被释放,后续代码若
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 1.46 ~ 1.65 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet