Skip to content
Heist/ feed
CriticalFix available

DEBIAN-CVE-2026-8376

Type: advisorySource: OSV1 source record

Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. Perl_study_chunk in regcomp_study.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 SSize_t, 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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-8376

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-8376

perl

Source reference: /affected/0/package/name

Affected versions
5.36.0-7

Source reference: /affected/0/versions

5.36.0-7+deb12u1

Source reference: /affected/0/versions

5.36.0-7+deb12u2

Source reference: /affected/0/versions

5.36.0-7+deb12u3

Source reference: /affected/0/versions

Fixed versions
5.36.0-7+deb12u4

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

perl

Source reference: /affected/1/package/name

Affected versions
5.40.1-6

Source reference: /affected/1/versions

Fixed versions
5.40.1-6+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

perl

Source reference: /affected/2/package/name

Affected versions
5.40.1-6

Source reference: /affected/2/versions

5.40.1-7

Source reference: /affected/2/versions

Fixed versions
5.40.1-8

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "5.36.0-7+deb12u4"
          }
        ]
      }
    ],
    "package": {
      "name": "perl",
      "purl": "pkg:deb/debian/perl?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "5.36.0-7",
      "5.36.0-7+deb12u1",
      "5.36.0-7+deb12u2",
      "5.36.0-7+deb12u3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8376.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "5.40.1-6+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "perl",
      "purl": "pkg:deb/debian/perl?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "5.40.1-6"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8376.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "5.40.1-8"
          }
        ]
      }
    ],
    "package": {
      "name": "perl",
      "purl": "pkg:deb/debian/perl?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "5.40.1-6",
      "5.40.1-7"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8376.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]
Related CVEs
CVE-2026-8376

Source reference: /upstream

Publisher severity

critical

Source reference: /severity/0/score

Event
#83719 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement