Every CVESearch/Get API key

GHSA-r5xw-q988-826m

Remote Memory Exposure in mongoose

5.1 MediumFix available

GHSA-r5xw-q988-826m is a medium vulnerability (CVSS 5.1) in mongoose, published September 1, 2020. No source lists public exploit code. Fixed in mongoose 3.8.39.

What does this mean?
Severity
5.1 MediumCVSS 3.1, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
3.8.39mongoose +3 more

Description

Versions of mongoose before 4.3.6, 3.8.39 are vulnerable to remote memory exposure.

Trying to save a number to a field of type Buffer on the affected mongoose versions allocates a chunk of uninitialized memory and stores it in the database.

Recommendation

Update to version 4.3.6, 3.8.39 or later.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Affected packages

Affected packages
PackageAffectedFixed
mongoose
npm
3.5.5 to 3.8.38
3.8.39
mongoose
npm
4.0.0 to 4.3.5
4.3.6
mongoose
npm
3.5.5 up to 3.8.39
3.8.39
mongoose
npm
4.0.0 up to 4.3.6
4.3.6

What each source reports

GitHub Advisories Score used5.1

Remote Memory Exposure in mongoose

Versions of mongoose before 4.3.6, 3.8.39 are vulnerable to remote memory exposure.

Trying to save a number to a field of type Buffer on the affected mongoose versions allocates a chunk of uninitialized memory and stores it in the database.

Recommendation

Update to version 4.3.6, 3.8.39 or later.

Record
GHSA-r5xw-q988-826m
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-201
Updated
2026-11-02
OSV5.1

Remote Memory Exposure in mongoose

Versions of mongoose before 4.3.6, 3.8.39 are vulnerable to remote memory exposure.

Trying to save a number to a field of type Buffer on the affected mongoose versions allocates a chunk of uninitialized memory and stores it in the database.

Recommendation

Update to version 4.3.6, 3.8.39 or later.

Record
GHSA-r5xw-q988-826m
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-201
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open