CVE catalog

CVE-2021-35940

apr: CVE-2021-35940

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.19% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianaprsid1.7.6-3fixed
Debianaprforky1.7.6-3fixed
Debianaprtrixie1.7.5-1fixed
Debianaprbookworm1.7.2-3+deb12u1fixed
Alpineapr3.141.7.0-r1fixed
Alpineapr3.151.7.0-r1fixed
Alpineapr3.161.7.0-r2fixed
Alpineapr3.171.7.0-r2fixed
Alpineapr3.181.7.0-r2fixed
Alpineapr3.191.7.0-r2fixed
Alpineapr3.201.7.0-r2fixed
Alpineapr3.211.7.0-r2fixed
Alpineapr3.221.7.0-r2fixed
Alpineapr3.231.7.0-r2fixed
Alpineapr3.241.7.0-r2fixed
Ubuntuaprpro1.5.2-3vulnerable
Ubuntuaprpro1.5.2-3ubuntu0.1~esm1fixed
Ubuntuaprpro1.5.2-3vulnerable
Ubuntuaprpro1.5.2-3ubuntu0.1~esm1fixed
Ubuntuapr22.041.7.0-6ubuntu1fixed
Opensuseaprtumbleweed1.7.0-4.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianaprsourcesid1.7.0-7not yet assignedNot reported[992789]
Debianaprsourceforky1.7.0-7not yet assignedNot reported[992789]
Debianaprsourcetrixie1.7.0-7not yet assignedNot reported[992789]
Debianaprsourcebookworm1.7.0-7not yet assignedNot reported[992789]
Alpineaprapk3.141.7.0-r1Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.151.7.0-r1Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.161.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.171.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.181.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.191.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.201.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.211.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.221.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.231.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Alpineaprapk3.241.7.0-r2Not reportedALPINE-CVE-2021-35940Not reported
Ubuntuaprdebpro1.5.2-3ubuntu0.1~esm1Not reportedUSN-5056-1Not reported
Ubuntuaprdebpro1.5.2-3ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-35940Not reported
Ubuntuaprdeb22.041.7.0-6ubuntu1Not reportedUBUNTU-CVE-2021-35940Not reported
Opensuseaprrpmtumbleweed1.7.0-4.1Not reportedOPENSUSE-SU-2024:11865-1Not reported

[Debian bug #992789]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [apr-devel]Unknown

    Source package: [apr]

    Details (1)
    • 1.7.6-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.7.0-4.1

      Version impact unknown

      dsa · apr · opensuse · tumbleweed

  • [libapr1-0]Unknown

    Source package: [apr]

    Details (1)
    • 1.7.6-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.7.0-4.1

      Version impact unknown

      dsa · apr · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [libapr1]Fixed

    Source package: [apr]

    Details (2)
    • 1.7.2-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · bookworm; dsa · apr · debian · 12

    • 1.7.2-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · bookworm; dsa · apr · debian · 12

  • Source package: [apr]

    Details (2)
    • 1.7.2-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · bookworm; dsa · apr · debian · 12

    • 1.7.2-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · bookworm; dsa · apr · debian · 12

[Debian 13 (Trixie)]

  • Source package: [apr]

    Details (2)
    • 1.7.5-1 · amd64 · trixie

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · 13

    • 1.7.5-1 · arm64 · trixie

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · 13

  • [libapr1t64]Fixed

    Source package: [apr]

    Details (2)
    • 1.7.5-1 · amd64 · trixie

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · 13

    • 1.7.5-1 · arm64 · trixie

      Fixed · Fixed: 1.7.0-7

      dsa · apr · debian · 13

Observed:

References