---
id: CVE-2012-4534
title: >-
  org/apache/tomcat/util/net/NioEndpoint.java in Apache Tomcat 6.x before 6.0.36
  and 7.x before 7.0.28, when the NIO connector is used in conjunction with
  sendfile and HTTPS, allows remote attackers to cause a denial of service
  (infinite l…
summary: >-
  org/apache/tomcat/util/net/NioEndpoint.java in Apache Tomcat 6.x before 6.0.36
  and 7.x before 7.0.28, when the NIO connector is used in conjunction with
  sendfile and HTTPS, allows remote attackers to cause a denial of service
  (infinite l…
severity: low
cvss: 2.6
cvssVector: 'AV:N/AC:H/Au:N/C:N/I:N/A:P'
cwe:
  - CWE-399
vendor: apache
product: tomcat
affected:
  - tomcat = 6.0
  - tomcat = 6.0.0
  - tomcat = 6.0.1
  - tomcat = 6.0.2
  - tomcat = 6.0.3
  - tomcat = 6.0.4
  - tomcat = 6.0.5
  - tomcat = 6.0.6
  - tomcat = 6.0.7
  - tomcat = 6.0.8
  - tomcat = 6.0.9
  - tomcat = 6.0.10
  - tomcat = 6.0.11
  - tomcat = 6.0.12
  - tomcat = 6.0.13
  - tomcat = 6.0.14
  - tomcat = 6.0.15
  - tomcat = 6.0.16
  - tomcat = 6.0.17
  - tomcat = 6.0.18
  - tomcat = 6.0.19
  - tomcat = 6.0.20
  - tomcat = 6.0.24
  - tomcat = 6.0.26
  - tomcat = 6.0.27
  - tomcat = 6.0.28
  - tomcat = 6.0.29
  - tomcat = 6.0.30
  - tomcat = 6.0.31
  - tomcat = 6.0.32
  - tomcat = 6.0.33
  - tomcat = 6.0.35
  - tomcat = 7.0.0
  - tomcat = 7.0.1
  - tomcat = 7.0.2
  - tomcat = 7.0.3
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.7
  - tomcat = 7.0.8
  - tomcat = 7.0.9
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.13
  - tomcat = 7.0.14
  - tomcat = 7.0.15
  - tomcat = 7.0.16
  - tomcat = 7.0.17
  - tomcat = 7.0.18
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.25
published: '2012-12-19'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T20:17:04.627'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2012-4534'
references:
  - url: 'http://archives.neohapsis.com/archives/bugtraq/2012-12/0043.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00061.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=136612293908376&w=2'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=139344343412337&w=2'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0623.html'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/57126'
    label: secalert@redhat.com
  - url: >-
      http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?r1=1340218&r2=1340217&pathrev=1340218
    label: secalert@redhat.com
  - url: >-
      http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1340218&r2=1340217&pathrev=1340218
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1340218'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-6.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-7.html'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/bid/56813'
    label: secalert@redhat.com
  - url: 'http://www.securitytracker.com/id?1027836'
    label: secalert@redhat.com
  - url: 'http://www.ubuntu.com/usn/USN-1685-1'
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
    label: secalert@redhat.com
  - url: 'https://issues.apache.org/bugzilla/show_bug.cgi?id=52858'
    label: secalert@redhat.com
  - url: >-
      https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19398
    label: secalert@redhat.com
  - url: 'http://archives.neohapsis.com/archives/bugtraq/2012-12/0043.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00061.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=136612293908376&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=139344343412337&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0623.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/57126'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?r1=1340218&r2=1340217&pathrev=1340218
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1340218&r2=1340217&pathrev=1340218
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1340218'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-6.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-7.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/56813'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id?1027836'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.ubuntu.com/usn/USN-1685-1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://issues.apache.org/bugzilla/show_bug.cgi?id=52858'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19398
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.07452
epssPercentile: 0.94318
ingestedAt: '2026-10-09T21:12:42.311Z'
---

## Overview

org/apache/tomcat/util/net/NioEndpoint.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.28, when the NIO connector is used in conjunction with sendfile and HTTPS, allows remote attackers to cause a denial of service (infinite loop) by terminating the connection during the reading of a response.

## Affected

- `tomcat = 6.0`
- `tomcat = 6.0.0`
- `tomcat = 6.0.1`
- `tomcat = 6.0.2`
- `tomcat = 6.0.3`
- `tomcat = 6.0.4`
- `tomcat = 6.0.5`
- `tomcat = 6.0.6`
- `tomcat = 6.0.7`
- `tomcat = 6.0.8`
- `tomcat = 6.0.9`
- `tomcat = 6.0.10`
- `tomcat = 6.0.11`
- `tomcat = 6.0.12`
- `tomcat = 6.0.13`
- `tomcat = 6.0.14`
- `tomcat = 6.0.15`
- `tomcat = 6.0.16`
- `tomcat = 6.0.17`
- `tomcat = 6.0.18`
- `tomcat = 6.0.19`
- `tomcat = 6.0.20`
- `tomcat = 6.0.24`
- `tomcat = 6.0.26`
- `tomcat = 6.0.27`
- `tomcat = 6.0.28`
- `tomcat = 6.0.29`
- `tomcat = 6.0.30`
- `tomcat = 6.0.31`
- `tomcat = 6.0.32`
- `tomcat = 6.0.33`
- `tomcat = 6.0.35`
- `tomcat = 7.0.0`
- `tomcat = 7.0.1`
- `tomcat = 7.0.2`
- `tomcat = 7.0.3`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.7`
- `tomcat = 7.0.8`
- `tomcat = 7.0.9`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.13`
- `tomcat = 7.0.14`
- `tomcat = 7.0.15`
- `tomcat = 7.0.16`
- `tomcat = 7.0.17`
- `tomcat = 7.0.18`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.25`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
