CVE-2026-72888: Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching of failed module loads in smart_require
Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching of failed module loads in smartrequire.
smartrequire stores results in a process-global hash with no bound and no eviction, and keeps an entry for every class name it is asked about, including names that failed to load, because the return value of the failed eval is stored before the error is checked. The key comes off the wire on the server side: signaturemethodclass builds the class name from the signaturemethod parameter of the incoming message, and verify resolves it before any signature is checked.
A remote client chooses both how many entries are created and how long each key is. In a persistent server the hash grows for the life of the worker process until it exhausts memory. Header size limits bound the key length on the Authorization header path, but not on a POST body.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Net-OAuth (Perl)to a version that resolves this vulnerability.Fixed in 0.32
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72888?
CVE-2026-72888 has a risk score of 45.
How do I fix CVE-2026-72888?
To fix CVE-2026-72888, update Net::OAuth to version 0.32 or later.
What vulnerability does CVE-2026-72888 describe?
CVE-2026-72888 describes a memory exhaustion vulnerability due to unbounded caching of failed module loads in Net::OAuth.
Which software is affected by CVE-2026-72888?
CVE-2026-72888 affects the CPAN Net::OAuth version before 0.32.
When was CVE-2026-72888 published?
CVE-2026-72888 was published on August 16, 2026.