Vulnerabilities / CVE-2023-46853

critical

CVE-2023-46853

memcached: off-by-one error when processing proxy requests in proxy mode

Published Modified CWE 193
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.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, Bitnami, CBL-Mariner, Photon OS. Rated lower by Red Hat (high), Amazon (medium), Ubuntu (medium).

Description

In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used instead of \r\n.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0memcached0:1.6.27-1.azl3
bitnami::Bitnami Vulnerability Databasememcached1.6.22
CBL-Mariner 2.0memcached0:1.6.22-1.cm2
Photon OS 3.0memcached1.6.22-1.ph3
Photon OS 4.0memcached, memcached-devel1.6.22-1.ph4
Photon OS 5.0memcached, memcached-devel1.6.22-1.ph5
amazon linux 2023memcached, memcached-debuginfo, memcached-debugsource and 2 more1.6.22-2.amzn2023.0.1
debian 11memcachedno fix listed
debian 12memcached1.6.18-1+deb12u1
debian 13memcached1.6.22-1
debian 14memcached1.6.22-1
echomemcached1.6.18-1+deb12u1
Show all 33 entries from 23 sources
SourcePackageFixed in
Azure Linux 3.0memcached0:1.6.27-1.azl3
bitnami::Bitnami Vulnerability Databasememcached1.6.22
CBL-Mariner 2.0memcached0:1.6.22-1.cm2
Photon OS 3.0memcached1.6.22-1.ph3
Photon OS 4.0memcached1.6.22-1.ph4
Photon OS 4.0memcached-devel1.6.22-1.ph4
Photon OS 5.0memcached1.6.22-1.ph5
Photon OS 5.0memcached-devel1.6.22-1.ph5
amazon linux 2023memcached1.6.22-2.amzn2023.0.1
amazon linux 2023memcached-debuginfo1.6.22-2.amzn2023.0.1
amazon linux 2023memcached-debugsource1.6.22-2.amzn2023.0.1
amazon linux 2023memcached-devel1.6.22-2.amzn2023.0.1
amazon linux 2023memcached-selinux1.6.22-2.amzn2023.0.1
debian 11memcachedno fix listed
debian 12memcached1.6.18-1+deb12u1
debian 13memcached1.6.22-1
debian 14memcached1.6.22-1
echomemcached1.6.18-1+deb12u1
rapidfort amazon linux 2023memcached1.6.22-2.amzn2023.0.1
rapidfort amazon linux 2023memcached-devel1.6.22-2.amzn2023.0.1
rapidfort amazon linux 2023memcached-selinux1.6.22-2.amzn2023.0.1
rapidfort debian 12memcached0:1.6.18-1+deb12u1
rapidfort debian 13memcached0:1.6.18-1+deb12u1
rapidfort ubuntu 20.04memcached0:1.6.14-1ubuntu0.1
rapidfort ubuntu 22.04memcached0:1.6.14-1ubuntu0.1
rapidfort ubuntu 24.04memcached0:1.6.14-1ubuntu0.1
root.io alpine 3.17memcached1.6.17-r00071, 1.6.17-r00072, 1.6.17-r00073, 1.6.17-r00074
root.io alpine 3.17rootio-memcached1.6.17-r00071, 1.6.17-r00072, 1.6.17-r00073, 1.6.17-r00074
root.io alpine 3.18memcached1.6.21-r00071, 1.6.21-r00072, 1.6.21-r00073, 1.6.21-r00074
root.io alpine 3.18rootio-memcached1.6.21-r00071, 1.6.21-r00072, 1.6.21-r00073, 1.6.21-r00074
ubuntu 22.04memcached1.6.14-1ubuntu0.1
ubuntu 23.04memcached1.6.18-1ubuntu0.1
ubuntu 23.10memcached1.6.21-1ubuntu0.23.10.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.