CVE-2025-46337 (GCVE-0-2025-46337)

Vulnerability from cvelistv5 – Published: 2025-05-01 17:20 – Updated: 2025-05-26 18:03
VLAI ENISA Previdian
Title
SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Summary
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.
SSVC
Exploitation: none Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-05-02 17:57 UTC
CWE
  • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7958 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
ADOdb ADOdb Affected: < 5.22.9
guessed Create a notification for this product.
ENISA
Known Exploited Vulnerability - GCVE BCP-07 Compliant

Vulnerability ID: CVE-2025-46337

Status: Confirmed

Status Updated: 2026-11-23 00:00 UTC

Exploited: Yes


Timestamps
First Seen: 2026-11-23
Asserted: 2026-11-23

Scope
Notes: Affected: ADOdb / ADOdb | Description: Exploitation monitored as part of campaigns utilizing redteam AI frameworks. | Patched since: 2025/05/01 | Exploitation type: unknown | CWEs: CWE-89 | Origin source: CSIRT-ITA | Notes: https://www.acn.gov.it/portale/w/impiego-di-agenti-di-ia-in-campagne-di-compromissione-automatizzate

Evidence

Type: Csirt Report

Signal: Successful Exploitation

Confidence: 75%

Source: enisa-cnw-kev


Details
Cwes CWE-89
Euvd EUVD-2025-13113
Notes https://www.acn.gov.it/portale/w/impiego-di-agenti-di-ia-in-campagne-di-compromissione-automatizzate
Catalog ENISA / EU CSIRTs Network (CNW) KEV JSON
Product ADOdb
Origincnw CSIRT-ITA
Origincti
Datereported 2026/11/23
Originsource CSIRT-ITA
Patchedsince 2025/05/01
Vendorproject ADOdb
Originsupplier False
Exploitationtype unknown
Vulnerabilityname
Threatactorsexploiting

References

Created: 2026-12-01 15:00 UTC | Updated: 2026-12-04 13:21 UTC
Previdian
Known Exploited Vulnerability - GCVE BCP-07 Compliant

Vulnerability ID: CVE-2025-46337

Status: Confirmed

Status Updated: 2026-12-02 12:13 UTC

Exploited: Yes


Characteristics
Authentication Required: No
Local Access Required: Remote
Severity: 100.0

Timestamps
First Seen: 2026-11-23
Asserted: 2026-11-23

Scope
Notes: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method | Affected: ADOdb / ADOdb | CVSS: 10.0 (CRITICAL) | EPSS: 0.00764 | Used in malware: unknown | Not yet in CISA KEV: True

Evidence

Type: Public Report

Signal: In The Wild Attempts

Confidence: 70%

Source: previdian


Details
Feed Previdian (previdian.com)
Title SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Cve Id CVE-2025-46337
Vendor ADOdb
Ghsa Id None
Product ADOdb
Added Date 2026-12-02T12:13:13.731Z
Cvss Score 10.0
Epss Score 0.00764
Previous Ids
Cvss Severity CRITICAL
Virtual Patch False
Cvss Estimated False
Epss Percentile 0.56672
Used In Malware unknown
Vulnerability Id CVE-2025-46337
Ahead Of Cisa Kev None
Not Yet In Cisa Kev True

References

Created: 2026-12-02 13:00 UTC | Updated: 2026-12-03 13:01 UTC
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-46337",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-05-02T17:57:27.460605Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-05-02T17:57:58.870Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-05-26T18:03:45.346Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "ADOdb",
          "vendor": "ADOdb",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 5.22.9"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 10,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-01T17:20:10.658Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"
        },
        {
          "name": "https://github.com/ADOdb/ADOdb/issues/1070",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ADOdb/ADOdb/issues/1070"
        },
        {
          "name": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
        }
      ],
      "source": {
        "advisory": "GHSA-8x27-jwjr-8545",
        "discovery": "UNKNOWN"
      },
      "title": "SQL injection in ADOdb PostgreSQL driver pg_insert_id() method"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-46337",
    "datePublished": "2025-05-01T17:20:10.658Z",
    "dateReserved": "2025-04-22T22:41:54.912Z",
    "dateUpdated": "2025-05-26T18:03:45.346Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-46337",
      "date": "2026-12-04",
      "epss": "0.00764",
      "percentile": "0.56792"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "ADOdb",
                "vendor": "ADOdb",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003c 5.22.9"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          },
          {
            "lang": "es",
            "value": "ADOdb es una librer\u00eda de clases de bases de datos PHP que proporciona abstracciones para realizar consultas y administrar bases de datos. Antes de la versi\u00f3n 5.22.9, el escape incorrecto de un par\u00e1metro de consulta pod\u00eda permitir que un atacante ejecutara sentencias SQL arbitrarias cuando el c\u00f3digo que usa ADOdb se conecta a una base de datos PostgreSQL e invoca pg_insert_id() con datos proporcionados por el usuario. Este problema se ha corregido en la versi\u00f3n 5.22.9."
          }
        ],
        "id": "CVE-2025-46337",
        "lastModified": "2026-06-17T09:26:15.620",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 10.0,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 6.0,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2025-46337",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-05-02T17:57:27.460605Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-05-01T18:15:57.510",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/ADOdb/ADOdb/issues/1070"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-06-28T11:19:08+00:00",
      "cve": "CVE-2025-46337",
      "id": "CVE-2025-46337",
      "initial_release_date": "2025-05-01T17:20:10.658000+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "ADOdb: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-46337.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2025-05-26T18:03:45.346Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "url": "https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html"
              },
              {
                "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-46337",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-05-02T17:57:27.460605Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-05-02T17:57:44.134Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "ADOdb",
              "vendor": "ADOdb",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 5.22.9"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 10,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-05-01T17:20:10.658Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"
            },
            {
              "name": "https://github.com/ADOdb/ADOdb/issues/1070",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/ADOdb/ADOdb/issues/1070"
            },
            {
              "name": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
            }
          ],
          "source": {
            "advisory": "GHSA-8x27-jwjr-8545",
            "discovery": "UNKNOWN"
          },
          "title": "SQL injection in ADOdb PostgreSQL driver pg_insert_id() method"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2025-46337",
        "datePublished": "2025-05-01T17:20:10.658Z",
        "dateReserved": "2025-04-22T22:41:54.912Z",
        "dateUpdated": "2025-05-26T18:03:45.346Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.