UBUNTU-CVE-2026-120651

Source
https://ubuntu.com/security/CVE-2026-120651
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120651
Upstream
Published
2026-11-04T00:17:00Z
Modified
2026-11-05T11:47:27Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set. When $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends. A client can keep a server process spinning with one such request.

References

Affected packages

Ubuntu:16.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.21-1
4.22-1
4.25-1
4.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.26-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:18.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.36-1
4.37-1
4.38-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.38-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:20.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.44-1
4.45-1
4.46-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.46-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:22.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.51-1
4.53-1
4.54-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.54-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:24.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.57-1
4.60-1
4.61-1
4.62-1
4.63-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.63-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:26.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.68-1
4.71-1
4.71-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.71-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"
Ubuntu:26.10
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.71-1build1
4.72-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.72-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120651.json"