Critical Security Update for PostgreSQL: Quoting API Vulnerability

pg_repack Updated 02 Oct 2025

Summary

20/02/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:1741: Important: postgresql:15 security update. Affects pg_repack versions < 1.4.8-2.module_el9.5.0+120+4533eb20. Fixed in 1.4.8-2.module_el9.5.0+120+4533eb20. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

PostgreSQL is an advanced object-relational database management system (DBMS) known for its robustness, extensibility, and compliance with SQL standards. It supports a wide range of data types and offers powerful features such as transactions, sub-selects, triggers, views, and stored procedures. However, recent vulnerabilities have been identified that could compromise the security of applications relying on PostgreSQL, particularly concerning its quoting APIs.

Vulnerability Detail

The vulnerability arises from PostgreSQL's quoting APIs, which fail to neutralize quoting syntax in text that does not pass encoding validation. This flaw, identified as CVE-2025-1094, can potentially allow attackers to execute arbitrary code or manipulate database queries, leading to unauthorized access or data corruption. The issue is particularly critical as it affects the integrity and security of the database operations.

How To Fix

Minimum fixed version

1.4.8-2.module_el9.5.0+120+4533eb20

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, consider restricting access to the PostgreSQL database and implementing additional input validation to mitigate the risk of exploitation until the update can be applied.

Conclusion

The PostgreSQL quoting API vulnerability (CVE-2025-1094) poses significant risks to database security. Users are strongly advised to update their PostgreSQL packages to the latest patched versions to mitigate these risks. Additionally, temporary workarounds can help protect against potential exploitation until updates are applied.

See every vulnerability recorded for pg_repack →

Share this vulnerability

FAQ

CVE-2025-1094 is a vulnerability in PostgreSQL's quoting APIs that fails to neutralize quoting syntax in improperly encoded text, potentially allowing for SQL injection attacks.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to unauthorized access, data corruption, or execution of arbitrary code within the database.

Yes, patched versions of the affected PostgreSQL packages are available, and users are encouraged to update to these versions immediately.

If an immediate update is not possible, implement strict access controls and input validation to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for pg_repack.

How To Fix

Minimum fixed version

1.4.8-2.module_el9.5.0+120+4533eb20

This is the first release that contains the fix.

sudo dnf update pg_repack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback