cve.bz

CVE-2022-25147 apache portable runtime utility: Year 2038 problem, Y2K38, Y2038, Epochalypse

6.5 mediumEPSS 1.5%

Medium (6.5) in apache portable runtime utility. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
Integer Overflow or Wraparound vulnerability in apr_base64 functions of Apache Portable Runtime Utility (APR-util) allows an attacker to write beyond bounds of a buffer. This issue affects Apache Portable Runtime Utility (APR-util) 1.6.1 and prior versions.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
1.5% (unchanged from 1.5% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-25147 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25147?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25147?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25147 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Portable Runtime Utility (APR-util)through 1.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10apr-util1.6.1-4+deb10u1DLA-3332-1
Debian11apr-util1.6.1-5+deb11u1DSA-5364-1
Debian12, 13, 14apr-util1.6.3-1DEBIAN-CVE-2022-25147
Ubuntu18.04:LTSapr-util1.6.1-2ubuntu0.1UBUNTU-CVE-2022-25147 USN-5870-1
Ubuntu20.04:LTSapr-util1.6.1-4ubuntu2.1UBUNTU-CVE-2022-25147 USN-5870-1
Ubuntu22.04:LTSapr-util1.6.1-5ubuntu4.22.04.1UBUNTU-CVE-2022-25147 USN-5870-1
UbuntuPro:14.04:LTSapr-util1.5.3-1ubuntu0.1~esm2UBUNTU-CVE-2022-25147 USN-5870-1
UbuntuPro:16.04:LTSapr-util1.5.4-1ubuntu0.1~esm2UBUNTU-CVE-2022-25147 USN-5870-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreapr-util, apr-util-nss, apr-util-ldap and 7 more0:1.5.2-6.el7_9.1RHSA-2023:3145
Red Hatenterprise_linux:8::appstreamapr-util, apr-util-bdb, apr-util-ldap and 15 more0:1.6.1-6.el8_8.1RHSA-2023:3109
Red Hatenterprise_linux:9::appstreamapr-util, apr-util-bdb, apr-util-ldap and 15 more0:1.6.1-20.el9_2.1RHSA-2023:3147
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-101.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.0.1-1.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.51-39.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.51-39.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-14.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 14 more0:1.6.1-101.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.0.1-1.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.51-39.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.51-39.el8jbcsRHSA-2023:3354
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 moreapr-util1.6.1-150200.12.3.1SUSE-SU-2023:0324-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 moreapr-util1.6.1-150300.18.5.1SUSE-SU-2023:0389-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1apr-util1.6.1-150000.4.9.1SUSE-SU-2023:0325-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreapr-util1.6.1-150300.18.8.1SUSE-SU-2026:3937-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Server Applications 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreapr-util1.6.1-150600.27.3.1SUSE-SU-2026:3938-1
SUSELinux Enterprise Server 12 SP2-BCLlibapr-util11.5.3-2.11.1SUSE-SU-2023:0338-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 morelibapr-util11.5.3-8.7.1SUSE-SU-2023:0337-1
openSUSELeap 15.4apr-util1.6.1-150300.18.5.1SUSE-SU-2023:0389-1
openSUSETumbleweedapr-util1.6.3-1.1openSUSE-SU-2024:12656-1
AlmaLinux8apr-util, apr-util-bdb, apr-util-ldap and 6 more1.6.1-6.el8_8.1ALSA-2023:3109
AlmaLinux9apr-util, apr-util-bdb, apr-util-ldap and 6 more1.6.1-20.el9_2.1ALSA-2023:3147
Rocky Linux8apr-util0:1.6.1-6.el8.1RLSA-2023:3109
Rocky Linux8apr-util0:1.6.1-6.el8_8.1RLSA-2023:3109
Rocky Linux9apr-util0:1.6.1-20.el9_2.1RLSA-2023:3147
Alpinev3.14, v3.15, v3.16 and 8 moreapr1.7.1-r0ALPINE-CVE-2022-25147
Alpinev3.14, v3.15, v3.16 and 8 moreapr-util1.6.3-r0ALPINE-CVE-2022-25147
Azure Linux2apr-util1.6.3-1AZL-13212

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Apache Portable Runtime Utility (APR-util) library contains additional utility interfaces for APR (Apache Portable Runtime).

This vulnerability is related to the incorrect usage of the base64 encoding/decoding family of functions through APR-util API.

Usage of these functions with long enough string would cause integer overflow and will lead to out-of-bound write.

This flaw was rated with an important severity for a moment as Red Hat received information that this vulnerability potentially can allow remote attackers to cause a denial of service to the application linked to the APR-util library. Deep analysis confirmed that there are no known conditions that could lead to DoS.

Additionally the APR-util API should not be exposed to the untrusted uploads and usage.

ProductPackageStateAdvisory
JBCS httpd 2.4.51.sp2jbcs-httpd24-apr-utilFixed 2023-06-05RHSA-2023:3355
JBoss Core Services for RHEL 8jbcs-httpd24-apr-util-0:1.6.1-101.el8jbcsFixed 2023-06-05RHSA-2023:3354
JBoss Core Services on RHEL 7jbcs-httpd24-apr-util-0:1.6.1-101.el7jbcsFixed 2023-06-05RHSA-2023:3354
Red Hat Enterprise Linux 7apr-util-0:1.5.2-6.el7_9.1Fixed 2023-05-16RHSA-2023:3145
Red Hat Enterprise Linux 8apr-util-0:1.6.1-6.el8_8.1Fixed 2023-05-16RHSA-2023:3109
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsapr-util-0:1.6.1-6.el8_1.1Fixed 2023-05-17RHSA-2023:3177
Red Hat Enterprise Linux 8.2 Advanced Update Supportapr-util-0:1.6.1-6.el8_2.1Fixed 2023-05-31RHSA-2023:3380
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceapr-util-0:1.6.1-6.el8_2.1Fixed 2023-05-31RHSA-2023:3380
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsapr-util-0:1.6.1-6.el8_2.1Fixed 2023-05-31RHSA-2023:3380
Red Hat Enterprise Linux 8.4 Extended Update Supportapr-util-0:1.6.1-6.el8_4.1Fixed 2023-05-31RHSA-2023:3360
Red Hat Enterprise Linux 8.6 Extended Update Supportapr-util-0:1.6.1-6.el8_6.1Fixed 2023-05-17RHSA-2023:3178
Red Hat Enterprise Linux 9apr-util-0:1.6.1-20.el9_2.1Fixed 2023-05-16RHSA-2023:3147
Red Hat Enterprise Linux 9.0 Extended Update Supportapr-util-0:1.6.1-20.el9_0.1Fixed 2023-05-16RHSA-2023:3146
Red Hat Enterprise Linux 6apr-utilOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25147.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON