# CVE-2021-35940: libapr1: An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (...

CVE-2021-35940 is fixed in 5 products on 1 platform, first by libapr1 1.7.0-6ubuntu1, released August 23, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-35940
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0119
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 23, 2021

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | apr amzn 2023 | 1.7.2-2.amzn2023.0.2 | [ALAS2023-2023-016](https://patchblox.com/security/data/fix/linux/alas2023-2023-016.md) | Feb 17, 2023 |
| Linux | apr-debuginfo amzn 2023 | 1.7.2-2.amzn2023.0.2 | [ALAS2023-2023-016](https://patchblox.com/security/data/fix/linux/alas2023-2023-016.md) | Feb 17, 2023 |
| Linux | apr-debugsource amzn 2023 | 1.7.2-2.amzn2023.0.2 | [ALAS2023-2023-016](https://patchblox.com/security/data/fix/linux/alas2023-2023-016.md) | Feb 17, 2023 |
| Linux | apr-devel amzn 2023 | 1.7.2-2.amzn2023.0.2 | [ALAS2023-2023-016](https://patchblox.com/security/data/fix/linux/alas2023-2023-016.md) | Feb 17, 2023 |
| Linux | libapr1 Ubuntu 22.04.1 LTS (jammy) | 1.7.0-6ubuntu1 | [libapr1 1.7.0-6ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libapr1-1.7.0-6ubuntu1.md) | Aug 23, 2021 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
