CVE-2020-25756

NameCVE-2020-25756
DescriptionA buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP header can exploit this bug. NOTE: a committer has stated "this will not happen in practice.
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/1135
smplayer embeds a copy, which is unused in any released version and disabled since 18.5.0~ds1-1

Search for package or bug name: Reporting problems