CVE-2020-25887

NameCVE-2020-25887
DescriptionBuffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mongoose (PTS)forky, sid7.21+ds-2fixed
swupdate (PTS)bullseye2020.11-2+deb11u1vulnerable
bookworm2022.12+dfsg-4+deb12u2fixed
trixie2024.12.1+dfsg-3+deb13u2fixed
forky, sid2025.12+dfsg-10fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mongoosesource(unstable)(not affected)
swupdatesource(unstable)2022.12+dfsg-1

Notes

- mongoose <not-affected> (Fixed before or with initial upload)
[bullseye] - swupdate <postponed> (Minor issue)
https://github.com/cesanta/mongoose/issues/1140

Search for package or bug name: Reporting problems