Pod::Text versions before 6.1.1 for Perl allow CPU and memory exhaustion formatting a POD document whose =over nesting drives the margin to the output width
podlators · perl
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| podlators |
| No fix yet |
| perl |
| No fix yet |
Original description
Pod::Text versions before 6.1.1 for Perl allow CPU and memory exhaustion formatting a POD document whose =over nesting drives the margin to the output width.
Each =over adds its indent to the margin, which wrap() subtracts from the output width to get the space available for text. When that space reaches zero, the line-splitting substitution matches the empty string, and the loop consumes no input while appending the margin padding on every pass.
Formatting an attacker-supplied POD document never returns, and the output grows until memory is exhausted.
From the CVE record · CPANSec
References
- metacpan.org/release/RRA/podlators-v6.1.0/source/lib/Pod/Text.pm#L245-261
- github.com/rra/podlators/commit/70510174f69eb54aa6d617bde4e1402cd9b7c61f.patchPatch
- metacpan.org/release/RRA/podlators-v6.1.1/changes
- openwall.com/lists/oss-security/2026/09/19/6
- cpan.org/modules
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82560.json
- nvd.nist.gov/vuln/detail/CVE-2026-82560
- github.com/Perl/perl5
- github.com/rra/podlators