CVE-2026-19873HTML::FormFu versions through 2.08 for Perl allow resource exhaustion via an unbounded…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libhtml-formfu-perl | Fix pending | UBUNTU-CVE-2026-19873 | |
| Ubuntu 26.04 | libhtml-formfu-perl | Under investigation | UBUNTU-CVE-2026-19873 | |
| Ubuntu 24.04 | libhtml-formfu-perl | Under investigation | UBUNTU-CVE-2026-19873 | |
| Ubuntu 22.04 | libhtml-formfu-perl | Under investigation | UBUNTU-CVE-2026-19873 | |
| Ubuntu 20.04 | libhtml-formfu-perl | Fix pending | UBUNTU-CVE-2026-19873 | |
| Ubuntu 18.04 | libhtml-formfu-perl | Fix pending | UBUNTU-CVE-2026-19873 | |
| Ubuntu 16.04 | libhtml-formfu-perl | Fix pending | UBUNTU-CVE-2026-19873 | |
| Debian 14 | libhtml-formfu-perl | Fixed | 2.07000-3 | DEBIAN-CVE-2026-19873 |
| Debian 13 | libhtml-formfu-perl | Fixed | 2.07000-2+deb13u1 | DEBIAN-CVE-2026-19873 |
| Debian 12 | libhtml-formfu-perl | Fix pending | DEBIAN-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.
- HTML-FormFu: affected: up to 2.08
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
- https://github.com/FormFu/HTML-FormFu/issues/71
- https://security.metacpan.org/patches/H/HTML-FormFu/2.08/CVE-2026-19873-r1.patch
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.