https://bugzilla.redhat.com/show_bug.cgi?id=2495089
Bug ID: 2495089
Summary: CVE-2026-56018 perl-JavaScript-Minifier-XS:
JavaScript::Minifier::XS: Denial of Service due to
memory leak during minification. [fedora-all]
Product: Fedora
Version: rawhide
Status: NEW
Whiteboard: {"flaws": ["16b74fe8-e2ed-457d-a77f-9d5b24a6b1c9"]}
Component: perl-JavaScript-Minifier-XS
Keywords: Security, SecurityTracking
Severity: medium
Priority: medium
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected],
[email protected]
Blocks: 2494672
Target Milestone: ---
Classification: Fedora
Disclaimer: Community trackers are created by Red Hat Product Security team on
a best effort basis. Package maintainers are required to ascertain if the flaw
indeed affects their package, before starting the update process.
JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on every
call to minify(), allowing unbounded memory growth.
In JsMinify (XS.xs) the cleanup frees only the NodeSet structures and never the
per-token contents buffers allocated in JsSetNodeContents; JsDiscardNode
unlinks nodes without freeing their contents. Each token's contents buffer is
therefore leaked on every call, and the two early returns taken when the node
list is empty leak the whole NodeSet.
A long-lived process that minifies repeatedly, such as an asset pipeline or a
server-side minifier endpoint, grows in memory without bound until it exhausts
available memory and is killed, causing denial of service.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2495089
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202495089%23c0
--
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new