BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-35940 in Apache Portable Runtime and 1 more product

High 7.1 Industrial / OT

An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue.

Affects 2 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.17.1
EPSS1.2%
EPSS percentile69th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Portable Runtime 1.7.0
Oracle Http Server 12.2.1.3.0 12.2.1.4.0
Rockwell Automation — —

Fix and vendor advisory

  • FactoryTalk Edge Gateway: v1.3: Rockwell Automation encourages users of the affected software to apply the risk mitigation below, if possible. Additionally, they encourage users to implement their suggested security best practices to minimize the risk.
  • FactoryTalk Edge Gateway: v1.3: Update to v1.4
  • FactoryTalk Edge Gateway: v1.3: Security Best Practices
  • FactoryTalk Edge Gateway: v1.3: Please see the Rockwell Automation publication regarding this issue for more information.

Source: ICSA-23-164-03

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2021-35940
BreachSpider IDBS-2021-GLOBAL-075632-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Published2021-08-23
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and monitoring for APR-related functions to detect and prevent out-of-bounds read attempts.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.