CVE-2026-13221

Publication date 13 July 2026

Last updated 27 August 2026


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

Description

Perl versions through 5.43.9 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk. When such branches are combined into a trie, the delta between the first branch and the shared tail is stored in a 16-bit field. A branch count above 65535 overflows the field, and the trie's match decision table is truncated with no warning or error. A pattern of this shape produces false positive matches (matching strings it should not) and false negative matches (failing to match strings it should). When such a pattern gates an access or filtering decision, the result is wrong.

Status

Package Ubuntu Release Status
perl 26.04 LTS resolute
Needs evaluation
24.04 LTS noble
Fixed 5.38.2-3.2ubuntu0.4
22.04 LTS jammy
Fixed 5.34.0-3ubuntu1.8
20.04 LTS focal
Fixed 5.30.0-9ubuntu0.5+esm3
18.04 LTS bionic
Fixed 5.26.1-6ubuntu0.7+esm3
16.04 LTS xenial
Fixed 5.22.1-9ubuntu0.9+esm3
14.04 LTS trusty
Fixed 5.18.2-2ubuntu1.7+esm8

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.1 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities