Bug 2517236 (CVE-2026-72888)

Summary: CVE-2026-72888 perl-Net-OAuth: Net::OAuth: Denial of Service via unbounded caching in smart_require
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Net::OAuth for Perl. A remote attacker can exploit an unbounded caching mechanism in the `smart_require` function to cause memory exhaustion. This occurs because the `smart_require` function stores results, including failed module loads, in a process-global hash without any size limit or eviction policy. By sending specially crafted requests, an attacker can force the hash to grow indefinitely, leading to a Denial of Service (DoS) condition where the affected system becomes unresponsive.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2536984, 2536985    
Bug Blocks:    

Description OSIDB Bzimport 2026-08-16 14:01:18 UTC
Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching of failed module loads in smart_require.

smart_require 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: _signature_method_class builds the class name from the signature_method 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.