CPANSA-Net-OAuth-2026-72888: Net-OAuth vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-08-16T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-08-16T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 6.5 | Severity | Medium |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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.
Vulnerabilities
CVE-2026-72888
Vulnerability DescriptionNet::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.
| Weakness | CWE-770 : Allocation of Resources Without Limits or Throttling |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Net-OAuth less than 0.32 |
|
Fixed
- Net-OAuth greater than or equal 0.32
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Net-OAuth-2026-72888 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-oauth-2026-72888.json - https://github.com/vurtdev/Net-OAuth/commit/ee713fc96263c70b3b9a5280612618b474576f8f.patch external
https://github.com/vurtdev/Net-OAuth/commit/ee713fc96263c70b3b9a5280612618b474576f8f.patch - https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-m2cv-cq5x-47ph external
https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-m2cv-cq5x-47ph - https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes external
https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes - http://www.openwall.com/lists/oss-security/2026/08/16/4 external
http://www.openwall.com/lists/oss-security/2026/08/16/4 - CVE-2026-72888 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-72888
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Sun Aug 16 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/