Skip to content

CVE-2025-12657 Malformed KMIP response may result in access violation

MediumCVSS 5.9 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

The KMIP response parser built into mongo binaries is overly tolerant of certain malformed packets, and may parse them into invalid objects. Later reads of this object can result in read access violations.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 6.0, < 7.0.22; >= 8.0, < 8.0.10 7.0.22, 8.0.10 Fixed
mongodb/mongodb >= 6.0.0, < 7.0.22; >= 8.0.0, < 8.0.10 7.0.22, 8.0.10 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 6.0, < 7.0.22 7.0.22
MongoDB Server >= 8.0, < 8.0.10 8.0.10
mongodb/mongodb >= 6.0.0, < 7.0.22 7.0.22
mongodb/mongodb >= 8.0.0, < 8.0.10 8.0.10

References