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.
Weaknesses
- CWE-835 — CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| — | — | 0 to <6.1.1 |
| — | — | 0 to <=5.45.2 |
References
- https://metacpan.org/release/RRA/podlators-v6.1.0/source/lib/Pod/Text.pm#L245-261
- https://github.com/rra/podlators/commit/70510174f69eb54aa6d617bde4e1402cd9b7c61f.patch (patch)
- https://metacpan.org/release/RRA/podlators-v6.1.1/changes (release-notes)
- http://www.openwall.com/lists/oss-security/2026/09/19/6
Generated from the official CVE List on 20 Sep 2026 07:01 UTC.