UBUNTU-CVE-2026-8376

Source
https://ubuntu.com/security/CVE-2026-8376
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8376.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-8376
Upstream
Downstream
Related
Published
2026-05-26T00:16:00Z
Modified
2026-06-24T19:45:37.528505579Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. Perlstudychunk in regcompstudy.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSizet, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer. A caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.

References

Affected packages

Ubuntu:22.04:LTS
perl

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.34.0-3ubuntu1.7

Affected versions

5.*
5.32.1-3ubuntu3
5.34.0-3ubuntu1
5.34.0-3ubuntu1.1
5.34.0-3ubuntu1.2
5.34.0-3ubuntu1.3
5.34.0-3ubuntu1.4
5.34.0-3ubuntu1.5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "5.34.0-3ubuntu1.7",
            "binary_name": "libperl5.34"
        },
        {
            "binary_name": "perl",
            "binary_version": "5.34.0-3ubuntu1.7"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.34.0-3ubuntu1.7"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.34.0-3ubuntu1.7"
        },
        {
            "binary_name": "perl-modules-5.34",
            "binary_version": "5.34.0-3ubuntu1.7"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.38.2-3.2ubuntu0.3

Affected versions

5.*
5.36.0-9ubuntu1
5.36.0-10ubuntu1
5.38.2-3
5.38.2-3.2
5.38.2-3.2build1
5.38.2-3.2build2
5.38.2-3.2build2.1
5.38.2-3.2ubuntu0.1
5.38.2-3.2ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libperl5.38t64",
            "binary_version": "5.38.2-3.2ubuntu0.3"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.3",
            "binary_name": "perl"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.38.2-3.2ubuntu0.3"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.38.2-3.2ubuntu0.3"
        },
        {
            "binary_name": "perl-modules-5.38",
            "binary_version": "5.38.2-3.2ubuntu0.3"
        }
    ]
}

Database specific

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

Package

Name
perl
Purl
pkg:deb/ubuntu/perl?arch=source&distro=questing

Affected ranges

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

Affected versions

5.*
5.40.1-2
5.40.1-3
5.40.1-5
5.40.1-6
5.40.1-6build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libperl5.40",
            "binary_version": "5.40.1-6build1"
        },
        {
            "binary_version": "5.40.1-6build1",
            "binary_name": "perl"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.40.1-6build1"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.40.1-6build1"
        },
        {
            "binary_name": "perl-modules-5.40",
            "binary_version": "5.40.1-6build1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.40.1-7ubuntu0.1

Affected versions

5.*
5.40.1-6build1
5.40.1-7build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libperl5.40",
            "binary_version": "5.40.1-7ubuntu0.1"
        },
        {
            "binary_name": "perl",
            "binary_version": "5.40.1-7ubuntu0.1"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.40.1-7ubuntu0.1"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.40.1-7ubuntu0.1"
        },
        {
            "binary_version": "5.40.1-7ubuntu0.1",
            "binary_name": "perl-modules-5.40"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8376.json"
Ubuntu:Pro:14.04:LTS
perl

Package

Name
perl
Purl
pkg:deb/ubuntu/perl?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.2-2ubuntu1.7+esm7

Affected versions

5.*
5.14.2-21build1
5.18.1-4
5.18.1-4build1
5.18.1-5
5.18.2-2
5.18.2-2ubuntu1
5.18.2-2ubuntu1.1
5.18.2-2ubuntu1.3
5.18.2-2ubuntu1.4
5.18.2-2ubuntu1.6
5.18.2-2ubuntu1.7
5.18.2-2ubuntu1.7+esm3
5.18.2-2ubuntu1.7+esm4
5.18.2-2ubuntu1.7+esm5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libcgi-fast-perl",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
        },
        {
            "binary_version": "5.18.2-2ubuntu1.7+esm7",
            "binary_name": "libperl5.18"
        },
        {
            "binary_version": "5.18.2-2ubuntu1.7+esm7",
            "binary_name": "perl"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
        },
        {
            "binary_name": "perl-modules",
            "binary_version": "5.18.2-2ubuntu1.7+esm7"
        }
    ]
}

Database specific

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

Package

Name
perl
Purl
pkg:deb/ubuntu/perl?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.26.1-6ubuntu0.7+esm2

Affected versions

5.*
5.26.0-8ubuntu1
5.26.1-2ubuntu1
5.26.1-3
5.26.1-4
5.26.1-4build1
5.26.1-5
5.26.1-6
5.26.1-6ubuntu0.1
5.26.1-6ubuntu0.2
5.26.1-6ubuntu0.3
5.26.1-6ubuntu0.5
5.26.1-6ubuntu0.6
5.26.1-6ubuntu0.7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "5.26.1-6ubuntu0.7+esm2",
            "binary_name": "libperl5.26"
        },
        {
            "binary_name": "perl",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
        },
        {
            "binary_name": "perl-debug",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
        },
        {
            "binary_name": "perl-modules-5.26",
            "binary_version": "5.26.1-6ubuntu0.7+esm2"
        }
    ]
}

Database specific

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

Package

Name
perl
Purl
pkg:deb/ubuntu/perl?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.30.0-9ubuntu0.5+esm2

Affected versions

5.*
5.28.1-6build1
5.30.0-7
5.30.0-9
5.30.0-9build1
5.30.0-9ubuntu0.2
5.30.0-9ubuntu0.3
5.30.0-9ubuntu0.4
5.30.0-9ubuntu0.5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libperl5.30",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
        },
        {
            "binary_name": "perl",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
        },
        {
            "binary_name": "perl-base",
            "binary_version": "5.30.0-9ubuntu0.5+esm2"
        },
        {
            "binary_version": "5.30.0-9ubuntu0.5+esm2",
            "binary_name": "perl-debug"
        },
        {
            "binary_version": "5.30.0-9ubuntu0.5+esm2",
            "binary_name": "perl-modules-5.30"
        }
    ]
}

Database specific

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