{"schemaVersion":3,"id":"CVE-2015-0241","aliases":["UBUNTU-CVE-2015-0241"],"status":"published","duplicateOf":null,"title":null,"description":"The to_char function in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow.","dates":{"published":"2020-01-27T15:29:37.000Z","modified":"2024-08-06T04:03:10.441Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.05533,"percentile":0.92739,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.05533},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05533,"percentile":0.92739}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05533,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05533,"percentile":0.92739}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"ubuntu","product":"postgresql-9.1","name":"postgresql-9.1","label":"postgresql-9.1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.1","purlType":"deb","versions":[{"text":"< 9.1.15-0ubuntu0.14.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.1.15-0ubuntu0.14.04","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.3","name":"postgresql-9.3","label":"postgresql-9.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.3","purlType":"deb","versions":[{"text":"< 9.3.6-0ubuntu0.14.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.3.6-0ubuntu0.14.04","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"postgresql global development group","product":"postgresql","name":"PostgreSQL","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.0.19","noFixRecorded":false,"fixedIn":null},{"text":"9.1.x before 9.1.15","noFixRecorded":false,"fixedIn":null},{"text":"9.2.x before 9.2.10","noFixRecorded":false,"fixedIn":null},{"text":"9.3.x before 9.3.6","noFixRecorded":false,"fixedIn":null},{"text":"9.4.x before 9.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.19 | 9.1.x before 9.1.15 | 9.2.x before 9.2.10 | 9.3.x before 9.3.6 | 9.4.x before 9.4.1","eol":null,"hubHref":"/vendor/postgresql_global_development_group/postgresql"},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.0.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.1.0, < 9.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.2.0, < 9.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.3.0, < 9.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.4.0, < 9.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.19 | ≥ 9.1.0, < 9.1.15 | ≥ 9.2.0, < 9.2.10 | ≥ 9.3.0, < 9.3.6 | ≥ 9.4.0, < 9.4.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.postgresql.org/docs/9.4/static/release-9-4-1.html","label":"www.postgresql.org/docs/9.4/static/release-9-4-1.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/docs/current/static/release-9-0-19.html","label":"www.postgresql.org/docs/current/static/release-9-0-19.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/docs/current/static/release-9-1-15.html","label":"www.postgresql.org/docs/current/static/release-9-1-15.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/docs/current/static/release-9-2-10.html","label":"www.postgresql.org/docs/current/static/release-9-2-10.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/docs/current/static/release-9-3-6.html","label":"www.postgresql.org/docs/current/static/release-9-3-6.html","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"http://www.postgresql.org/about/news/1569/","label":"www.postgresql.org/about/news/1569/","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"http://www.debian.org/security/2015/dsa-3155","label":"www.debian.org/security/2015/dsa-3155","hostname":"www.debian.org","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-0241","label":"ubuntu.com/security/CVE-2015-0241","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2499-1","label":"ubuntu.com/security/notices/USN-2499-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-0241","label":"www.cve.org/CVERecord?id=CVE-2015-0241","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DLA-152-1","DSA-3155-1","MGASA-2015-0069","OPENSUSE-SU-2024:10256-1","RHSA-2015:0699","RHSA-2015:0750","RHSA-2015:0856","SUSE-SU-2015:0478-1","USN-2499-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10256-1","SUSE-SU-2015:0478-1","USN-2499-1"]},"timeline":[{"kind":"published","date":"2020-01-27T15:29:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T04:03:10.441Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:18:21.723Z","stale":false,"partial":false}}