CVEfocus › CVE database › CVE-2026-19873

CVE-2026-19873HTML::FormFu versions through 2.08 for Perl allow resource exhaustion via an unbounded…

CVSS 7.5 HighEPSS 0.6% (higher than 45% of CVEs)Published 2026-08-31Updated 2026-09-01Assigner: CPANSec

HTML::FormFu versions through 2.08 for Perl allow resource exhaustion via an unbounded repeat count from the query string in Repeatable elements. When a Repeatable element has counter_name set, its process method reads the repeat count from the named query string parameter, checks only that it is a positive integer, and passes it to repeat, which deep-clones the element's child subtree once per iteration. Nothing caps the value, and no attribute lets an application impose a limit. The count is read on every request, before the form decides whether it was submitted, so a plain GET reaches the clone loop with no credentials, no session and no request body. Nesting multiplies: a Repeatable inside a Repeatable takes a counter at each level, so an outer and an inner value of 100 build 10,000 clones. Once the form is submitted, each cloned field's constraints scan the whole element tree in _find_field_value, so cost grows faster than linearly with the count. A single request exhausts memory and CPU. The latest release on CPAN is 2.07, from 2018. Version 2.08 exists only in the git repository.

CWE-1284CWE-770

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libhtml-formfu-perlFix pendingUBUNTU-CVE-2026-19873
Ubuntu 26.04libhtml-formfu-perlUnder investigationUBUNTU-CVE-2026-19873
Ubuntu 24.04libhtml-formfu-perlUnder investigationUBUNTU-CVE-2026-19873
Ubuntu 22.04libhtml-formfu-perlUnder investigationUBUNTU-CVE-2026-19873
Ubuntu 20.04libhtml-formfu-perlFix pendingUBUNTU-CVE-2026-19873
Ubuntu 18.04libhtml-formfu-perlFix pendingUBUNTU-CVE-2026-19873
Ubuntu 16.04libhtml-formfu-perlFix pendingUBUNTU-CVE-2026-19873
Debian 14libhtml-formfu-perlFixed2.07000-3DEBIAN-CVE-2026-19873
Debian 13libhtml-formfu-perlFixed2.07000-2+deb13u1DEBIAN-CVE-2026-19873
Debian 12libhtml-formfu-perlFix pendingDEBIAN-CVE-2026-19873

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Apply the patch. There is no fixed release.

Workaround: For deployments that cannot apply the patch, reject or clamp the counter parameter before passing the query to process. Where the client-side repeat feature is not needed, unsetting counter_name stops the count being read from the query string.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.