BreachSpiderVerified, not vibes

CVE-2025-1094 in Patterns products

High 8.1

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function re...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.1
EPSS34.2%
EPSS percentile99th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Patterns — —
Postgresql — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-1094
BreachSpider IDBS-2025-GLOBAL-270277-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-02-13
Last modified2026-11-03
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-149: CWE-149

Related attack patterns (CAPEC)

CAPEC-468 Generic Cross-Browser Cross-Domain Theft via CWE-149

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-1094 affects PostgreSQL versions before 17.3, 16.7, 15.11, 14.16, and 13.19, allowing SQL injection through improper neutralization of quoting syntax in libpq functions and command line utilities. The CVSS score is 8.1, indicating a high severity, and the EPSS score suggests a high likelihood of exploitation. Immediate action is required to mitigate the risk, especially in environments where PostgreSQL is used for critical operations.

The vulnerability can be exploited by an attacker who can provide input to the PostgreSQL interactive terminal (psql) or command line utilities. The attacker can inject malicious SQL commands if the application uses the result of the affected functions to construct input to psql. This can lead to unauthorized data manipulation, data exfiltration, and potential system compromise. The vulnerability is particularly dangerous when the client_encoding is BIG5 and the server_encoding is EUC_TW or MULE_INTERNAL.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all inputs that are used to construct SQL queries. Use prepared statements and parameterized queries to prevent SQL injection. Regularly update and patch PostgreSQL to the latest version.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2025-1094?

CVE-2025-1094 affects PostgreSQL versions before 17.3, 16.7, 15.11, 14.16, and 13.19, allowing SQL injection through improper neutralization of quoting syntax in libpq functions and command line utilities. The CVSS score is 8.1, indicating a high severity, and the EPSS score suggests a high likelihood of exploitation. Immediate action is required to mitigate the risk, especially in environments where PostgreSQL is used for critical operations.

What is the CVSS score for CVE-2025-1094?

CVE-2025-1094 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 34.2%.

Is CVE-2025-1094 actively exploited?

No confirmed active exploitation of CVE-2025-1094 as of 2026-11-04.

How do I remediate CVE-2025-1094?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-1094?

CVE-2025-1094 affects Patterns; Postgresql.

What NERC-CIP standard applies to CVE-2025-1094?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the database, which can compromise the integrity and availability of critical systems. Immediate action is required to prevent potential data breaches and system compromise.

What IEC 62443 requirement maps to CVE-2025-1094?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the protection of the database from unauthorized access and manipulation. The vulnerability can lead to data corruption and system compromise, which are critical concerns in ICS environments.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Patterns","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-03.