Bug 2571520

Summary: CVE-2026-125116 smplayer: Mongoose: Denial of Service via discriminator key type confusion [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: smplayerAssignee: Michel Lind <michel>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: davide, multimedia-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["98630f75-1208-4821-8a6f-f3a94a210482"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-11 18:42:37 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: 2449640, 2570605    

Description Vladimir Vasilev 2026-11-11 08:10:16 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.

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose uses attacker-controlled discriminator key values, including the default __t field, to index plain-object registries such as Model.discriminators and schema.discriminators without requiring an own property. Values such as constructor, toString, or hasOwnProperty can therefore resolve to inherited built-in functions instead of a registered discriminator, causing type confusion in model construction, document creation, hydration, query and update casting, embedded discriminators, and populate operations. In the bulkWrite() insertOne path with skipValidation enabled, a constructor value can cause a raw input object to be stored without schema casting or strict filtering, and a stored poisoned document can make every query that hydrates it fail until the document is removed. The weakness reads inherited properties but does not modify Object.prototype and is not prototype pollution. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.

Comment 1 Michel Lind 2026-11-11 18:42:37 UTC
This CVE is for a different package in a different ecosystem that happens to share a similar name

CVE-2026-125116 is in a different project from Fedora's smplayer:
- smplayer in Fedora: Graphical front-end for mplayer and mpv, not a JavaScript package
- smplayer also declares bundled(mongoose) = 6.11: a copy of another mongoose, built into a package that is not JavaScript
- CVE-2026-125116: Automattic/mongoose, a JavaScript project. Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.