CVE-2012-1151 in Perl
Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Perl | Perl | ≤ 2.18.1 |
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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-1151 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-090559-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Published | 2012-09-09 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-134: CWE-134
Related attack patterns (CAPEC)
CAPEC-67 String Format Overflow in syslog() via CWE-134
CAPEC-135 Format String Injection via CWE-134
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Perl systems (CVE-2012-1151). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2012-1151?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Perl systems (CVE-2012-1151). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-1151?
CVE-2012-1151 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 2.7%.
Is CVE-2012-1151 actively exploited?
No confirmed active exploitation of CVE-2012-1151 as of 2026-09-25.
How do I remediate CVE-2012-1151?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2012-1151?
CVE-2012-1151 affects Perl Perl.
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":"Perl","product":"Perl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.