Skip to content
Heist/ feed
Back to feed
Medium

libnet-oauth-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-72888

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.

Products
libnet-oauth-perl
Affected versions
0.28-2, 0.28-3, 0.28-4, 0.31-1, 0.33-1
Fixed versions
Not specified
CVEs
CVE-2026-72888
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:15 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-72888

core-osv · Original source

Published 16 Aug 2026, 14:16 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.

osv:UBUNTU-CVE-2026-72888

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

libnet-oauth-perl

Fixed versions: Not specified

Complete source record
{
  "id": "50ed194a87c167de3fdc05f62fe391222c5152318d47e6c5e118c5888003fa30",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-72888",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-72888",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-72888",
    "products": [
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28-3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28-4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.31-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.33-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-oauth-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.31-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-72888",
      "aliases": [
        "UBUNTU-CVE-2026-72888"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.28-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.28-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.28-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.28-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.28-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.28-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.28-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.28-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.28-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.28-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.31-1",
            "0.33-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.33-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-oauth-perl",
            "purl": "pkg:deb/ubuntu/libnet-oauth-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.31-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72888.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-oauth-perl",
                "binary_version": "0.31-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:59.157149642Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-72888"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-72888",
        "https://www.cve.org/CVERecord?id=CVE-2026-72888",
        "https://lists.security.metacpan.org/cve-announce/msg/42733455/",
        "https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-m2cv-cq5x-47ph"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-72888",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360873,
  "published_at": "2026-08-16T14:16:00+00:00"
}