CVE-2017-12613
Reported by apache · Published October 24, 2017
When apr_time_exp*() or apr_os_exp_time*() functions are invoked with an invalid month field value in Apache Portable Runtime APR 1.6.2 and prior, out of bounds memory may be accessed in converting this value to an apr_time_exp_t value, potentially revealing the contents of a different static heap value or resulting in program termination, and may represent an information disclosure or denial of service vulnerability to applications which call these APR functions with unvalidated external input.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| apr | Arch Linux | 1.6.3-1 |
| apr | Ubuntu:Pro:14.04:LTS | 1.5.0-1ubuntu0.1~esm1 |
| apr | Ubuntu:Pro:16.04:LTS | 1.5.2-3ubuntu0.1~esm1 |
| portable_runtime | apache | 1.7.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Portable Runtime | 1.6.2 and prior |
| arch | apr | 0 |
| Apache Software Foundation | Apache Portable Runtime | 1.6.2 |
Timeline
- Oct 23, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published
- Oct 6, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (9 in total, the first dated here)
- Aug 9, 2026 Distribution Patch (8 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-12613
vulnetix vdb fixes CVE-2017-12613
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12613/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20171106 [SECURITY] [DLA 1162-1] apr security update mailing-listx_refsource_MLIST
- RHSA-2018:0316 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 1042004 vdb-entryx_refsource_SECTRACK
- RHSA-2017:3475 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0465 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2017:3270 vendor-advisoryx_refsource_REDHAT
- [announce] 20171023 Apache Portable Runtime APR 1.6.3, APR-util 1.6.1 and APR-iconv 1.2.2 Released mailing-listx_refsource_MLIST
- RHSA-2017:3476 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1253 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:3477 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0466 vendor-advisoryx_refsource_REDHAT
- 101560 vdb-entryx_refsource_BID
- [apr-commits] 20210816 svn commit: r1892358 - /apr/apr/branches/1.7.x/CHANGES mailing-listx_refsource_MLIST
- [apr-commits] 20210820 svn commit: r49582 - /release/apr/patches/apr-1.7.0-CVE-2021-35940.patch mailing-listx_refsource_MLIST
- [apr-dev] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-listx_refsource_MLIST
- [oss-security] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-listx_refsource_MLIST
- [announce] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-listx_refsource_MLIST
- [apr-dev] 20210916 Re: CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 mailing-listx_refsource_MLIST
…and 1 more