CVE-2026-72888Net::OAuth versions before 0.32 for Perl allow memory exhaustion via unbounded caching…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72888 | |
| Ubuntu 26.04 | libnet-oauth-perl | Under investigation | UBUNTU-CVE-2026-72888 | |
| Ubuntu 24.04 | libnet-oauth-perl | Under investigation | UBUNTU-CVE-2026-72888 | |
| Ubuntu 22.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72888 | |
| Ubuntu 20.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72888 | |
| Ubuntu 18.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72888 | |
| Ubuntu 16.04 | libnet-oauth-perl | Fix pending | UBUNTU-CVE-2026-72888 | |
| Debian 14 | libnet-oauth-perl | Fixed | 0.32-1 | DEBIAN-CVE-2026-72888 |
| Debian 13 | libnet-oauth-perl | Fix pending | DEBIAN-CVE-2026-72888 | |
| Debian 12 | libnet-oauth-perl | Fix pending | DEBIAN-CVE-2026-72888 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Net-OAuth: affected: before 0.32; fixed in
0.32
Solution: Upgrade to Net-OAuth 0.32 or later.
Vendor advisories:
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-m2cv-cq5x-47ph (vendor-advisory)
- https://github.com/vurtdev/Net-OAuth/commit/ee713fc96263c70b3b9a5280612618b474576f8f.patch (patch)
- https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes (release-notes)
References
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-m2cv-cq5x-47ph
- https://github.com/vurtdev/Net-OAuth/commit/ee713fc96263c70b3b9a5280612618b474576f8f.patch
- https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.