# CVE-2021-39275: ap_escape_quotes buffer overflow

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 40.7%, higher than 98% of CVEs (2026-12-01)
- Published: 2021-09-16T14:40:22.000Z
- Modified: 2026-10-16T09:45:02.792Z
- Also known as: BIT-APACHE-2021-39275
- Weaknesses: CWE-787
- Assigned by: apache

## Description

ap_escape_quotes() may write beyond the end of a buffer when given malicious input. No included modules pass untrusted data to these functions, but third-party / external modules may. This issue affects Apache HTTP Server 2.4.48 and earlier.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache HTTP Server: from Apache HTTP Server 2.4 up to 2.4.48
- apache http_server: before 2.4.49
- fedoraproject fedora: 34; 35
- debian debian_linux: 9.0; 10.0; 11.0
- netapp cloud_backup: no versions given
- netapp clustered_data_ontap: no versions given
- netapp storagegrid: no versions given
- oracle http_server: 12.2.1.3.0; 12.2.1.4.0
- oracle instantis_enterprisetrack: 17.1; 17.2; 17.3
- oracle zfs_storage_appliance_kit: 8.8
- siemens sinec_nms: no versions given
- siemens sinema_server: 14.0
- apache (Bitnami): before 2.4.49

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://httpd.apache.org/security/vulnerabilities_24.html> (advisory, release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E> (fix, mailing-list, patch)
- <https://lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E> (fix, mailing-list, patch)
- <https://lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E> (fix, mailing-list, patch)
- <https://lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E> (fix, mailing-list, patch)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00001.html> (advisory, mailing-list, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4982> (advisory, third-party-advisory, vendor-advisory)
- <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ> (advisory, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20211008-0004/> (advisory, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (advisory, patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-20> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39275> (web)

## Sources

- CVE List: [CVE-2021-39275](https://www.cve.org/CVERecord?id=CVE-2021-39275), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39275](https://nvd.nist.gov/vuln/detail/CVE-2021-39275), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-APACHE-2021-39275](https://osv.dev/vulnerability/BIT-APACHE-2021-39275), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2021-39275 · Whole record: https://cve.day/CVE-2021-39275.json · Rebuilt by cve.day 2026-11-25T22:58:04.009Z
