Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 64%

UBUNTU-CVE-2026-13221

0
High
Published: 07/13/2026 (07/13/2026, 17:16:00 UTC)
Source: GCVE Database
Product: perl

Description

Perl versions through 5.43.9 have a vulnerability in their regular expression engine where compiling an alternation with more than 65535 fixed string branches into a trie causes a 16-bit overflow. This overflow truncates the trie's match decision table without warning, resulting in incorrect regular expression matches that can produce false positives and false negatives. Such incorrect matches can lead to wrong access or filtering decisions when these patterns are used for security controls.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm7?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=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=5.18.2-2ubuntu1.7+esm7
Ubuntu:Pro:16.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=5.20.2-6=5.22.1-3=5.22.1-4=5.22.1-5=5.22.1-7=5.22.1-8=5.22.1-9=5.22.1-9ubuntu0.2=5.22.1-9ubuntu0.3=5.22.1-9ubuntu0.5=5.22.1-9ubuntu0.6=5.22.1-9ubuntu0.9=5.22.1-9ubuntu0.9+esm1=5.22.1-9ubuntu0.9+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra/bionic
Affected versions
=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=5.26.1-6ubuntu0.7+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra/focal
Affected versions
=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=5.30.0-9ubuntu0.5+esm2
Ubuntu:22.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
=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=5.34.0-3ubuntu1.7
Ubuntu:24.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
=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=5.38.2-3.2ubuntu0.3
Ubuntu:26.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=5.40.1-6build1=5.40.1-7build1=5.40.1-7ubuntu0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 14:02:14 UTC

Technical Analysis

This vulnerability affects Perl versions up to 5.43.9, where the internal function Perl_study_chunk compiles large alternations of fixed string branches into a trie structure. The delta between the first branch and the shared tail is stored in a 16-bit field, which overflows if the branch count exceeds 65535. This overflow truncates the trie's match decision table silently, causing the regular expression engine to produce incorrect matches. The impact is that patterns relying on such large alternations may incorrectly match or fail to match strings, potentially leading to incorrect access or filtering decisions.

Potential Impact

The vulnerability causes the Perl regular expression engine to produce false positive and false negative matches when processing patterns with more than 65535 fixed string branches in an alternation. This can result in incorrect behavior in applications that use such patterns for access control or filtering, potentially allowing unauthorized access or blocking legitimate requests. There is no indication of direct code execution or system compromise from the data provided.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is confirmed, avoid using regular expressions with alternations exceeding 65535 fixed string branches in Perl. Monitor vendor communications for updates and apply official patches once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-13221
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b4f968715ace43db21f4

Added to database: 07/16/2026, 10:39:53 UTC

Last enriched: 07/16/2026, 14:02:14 UTC

Last updated: 07/31/2026, 19:24:46 UTC

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses