Vulnerabilities / CVE-2026-24677

critical

CVE-2026-24677

freerdp: FreeRDP has a heap-buffer-overflow in ecam_encoder_compress_h264

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (high), Red Hat (medium), Ubuntu (medium).

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.22.0, ecam_encoder_compress_h264 trusts server-controlled dimensions and does not validate the source buffer size, leading to an out-of-bounds read in sws_scale. This vulnerability is fixed in 3.22.0.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.23freerdp3.22.0-r0
alpine 3.24freerdp3.22.0-r0
alpine edgefreerdp3.22.0-r0
amazon linux 2freerdp, freerdp-debuginfo, freerdp-devel and 3 more2:2.11.7-1.amzn2.0.5
amazon linux 2023freerdp, freerdp-debuginfo, freerdp-debugsource and 8 more2:3.6.3-1.amzn2023.0.4
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp33.15.0+dfsg-2.1+deb13u1
debian 14freerdp33.22.0+dfsg-1
echofreerdp2, freerdp33.15.0+dfsg-2.1+deb13u1
rapidfort alpine 3.20freerdp3.22.0-r0
rapidfort alpine 3.21freerdp3.22.0-r0
Show all 50 entries from 19 sources
SourcePackageFixed in
alpine 3.23freerdp3.22.0-r0
alpine 3.24freerdp3.22.0-r0
alpine edgefreerdp3.22.0-r0
amazon linux 2freerdp2:2.11.7-1.amzn2.0.5
amazon linux 2freerdp-debuginfo2:2.11.7-1.amzn2.0.5
amazon linux 2freerdp-devel2:2.11.7-1.amzn2.0.5
amazon linux 2freerdp-libs2:2.11.7-1.amzn2.0.5
amazon linux 2libwinpr2:2.11.7-1.amzn2.0.5
amazon linux 2libwinpr-devel2:2.11.7-1.amzn2.0.5
amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-debuginfo2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-debugsource2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-libs-debuginfo2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.4
amazon linux 2023freerdp-server-debuginfo2:3.6.3-1.amzn2023.0.4
amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.4
amazon linux 2023libwinpr-debuginfo2:3.6.3-1.amzn2023.0.4
amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.4
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp33.15.0+dfsg-2.1+deb13u1
debian 14freerdp33.22.0+dfsg-1
echofreerdp2no fix listed
echofreerdp33.15.0+dfsg-2.1+deb13u1
rapidfort alpine 3.20freerdp3.22.0-r0
rapidfort alpine 3.21freerdp3.22.0-r0
rapidfort alpine 3.22freerdp3.22.0-r0
rapidfort amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.4
rapidfort amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.4
rapidfort amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.4
rapidfort amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.4
rapidfort amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.4
rapidfort amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.4
rapidfort debian 12freerdp2no fix listed
rapidfort debian 12freerdp30:3.15.0+dfsg-2.1+deb13u1, 0:3.22.0+dfsg-1
rapidfort debian 13freerdp2no fix listed
rapidfort debian 13freerdp30:3.15.0+dfsg-2.1+deb13u1, 0:3.22.0+dfsg-1
rapidfort fedora 43freerdp2:3.22.0-1.fc43
rapidfort fedora 43freerdp-devel2:3.22.0-1.fc43
rapidfort fedora 43freerdp-libs2:3.22.0-1.fc43
rapidfort fedora 43freerdp-server2:3.22.0-1.fc43
rapidfort fedora 43libwinpr2:3.22.0-1.fc43
rapidfort fedora 43libwinpr-devel2:3.22.0-1.fc43
Red Hatfreerdpno fix listed
Red Hatfreerdp-develno fix listed
Red Hatfreerdp-libsno fix listed
Red Hatfreerdp-pluginsno fix listed
ubuntu 25.10freerdp33.16.0+dfsg-2ubuntu0.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.