Bug 2576251

Summary: CVE-2026-109413 mediawiki: symfony/yaml: Denial of Service via deeply nested inline collections [fedora-all]
Product: [Fedora] Fedora Reporter: Oleg Sushchenko <osushche>
Component: mediawikiAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: mike, orion
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["7f063694-a8b2-4078-809c-28e403152732"]}
Fixed In Version: mediawiki-1.46.3-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-12-02 02:01:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2553525    

Description Oleg Sushchenko 2026-11-19 09:05:07 UTC
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.

In Symfony YAML prior to versions 5.4.54, 6.4.45, 7.4.18, and 8.1.6, Yaml\Parser::lexInlineStructure() recursed through lexInlineMapping() and lexInlineSequence() for every { and [ of an inline collection, without entering the nesting level that the rest of the parser bounds with maxNestingLevel. A document made of deeply nested inline collections, such as [[[[...]]]], exhausted the stack while it was being lexed: depending on the PHP version and its stack settings, the process crashed or the request ended with a fatal error.



Any code parsing untrusted YAML is affected. That includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat: a single unauthenticated request with a YAML content type is enough.



This issue affects symfony/yaml prior to v5.4.54, v6.0.0-BETA1 prior to v6.4.45, v7.0.0-BETA1 prior to v7.4.18, and v8.0.0-BETA1 prior to v8.1.6.

Comment 1 Fedora Update System 2026-11-23 18:09:44 UTC
FEDORA-2026-887375c5c9 (mediawiki-1.46.3-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-887375c5c9

Comment 2 Fedora Update System 2026-11-24 02:50:23 UTC
FEDORA-2026-887375c5c9 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-887375c5c9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-887375c5c9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-12-02 02:01:35 UTC
FEDORA-2026-887375c5c9 (mediawiki-1.46.3-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.