ubuntu-cve-2025-46337
Vulnerability from osv_ubuntu
Published
2025-05-01 18:15
Modified
2026-05-20 15:22
Summary
Details
ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. Prior to version 5.22.9, improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a PostgreSQL database and calls pg_insert_id() with user-supplied data. This issue has been patched in version 5.22.9.
Severity
10.0 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.20.3-1ubuntu1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.20.3-1ubuntu1+esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.18a-1",
"5.20.1-1",
"5.20.2-1",
"5.20.2-2",
"5.20.3-1",
"5.20.3-1ubuntu1",
"5.20.3-1ubuntu1+esm1",
"5.20.3-1ubuntu1+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.20.9-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.20.9-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.20.9-1",
"5.20.9-1ubuntu0.1~esm1",
"5.20.9-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.20.16-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.20.16-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.20.14-1",
"5.20.15-1",
"5.20.16-1",
"5.20.16-1ubuntu0.1~esm1",
"5.20.16-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.20.19-1ubuntu0.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.20.19-1ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.20.19-1",
"5.20.19-1ubuntu0.1",
"5.20.19-1ubuntu0.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.21.4-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.21.4-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.21.4-1",
"5.21.4-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.22.9-0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.22.9-0.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.22.9-0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.22.8-0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libphp-adodb",
"binary_version": "5.22.9-0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libphp-adodb",
"purl": "pkg:deb/ubuntu/libphp-adodb@5.22.9-0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.22.9-0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}
],
"aliases": [],
"details": "ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. Prior to version 5.22.9, improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a PostgreSQL database and calls pg_insert_id() with user-supplied data. This issue has been patched in version 5.22.9.",
"id": "UBUNTU-CVE-2025-46337",
"modified": "2026-05-20T15:22:52Z",
"published": "2025-05-01T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-46337"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-46337"
},
{
"type": "REPORT",
"url": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"
},
{
"type": "REPORT",
"url": "https://github.com/ADOdb/ADOdb/issues/1070"
},
{
"type": "REPORT",
"url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
},
{
"type": "REPORT",
"url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7530-1"
}
],
"related": [
"USN-7530-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-46337"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…